Just in case your tns plugin build
command ever returns
"Error: The server returned unexpected response: "
you should try to append --log=trace
(in full command: tns plugin build --log=trace
) to find out what is going on.
In my case, I had a conflicting config in my .npmrc
file and the server configured in there returned a HTTP 401 .
Removing that .npmrc
helped me to run my builds again. Finding it took 30mins of my evening...
Hope you found this earlier and that it helps you ;-)
Top comments (0)