Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker build script fails at Step 9 (npm install nativescript) #4

Open
cookingfox opened this issue Nov 18, 2016 · 2 comments
Open

Comments

@cookingfox
Copy link

When I perform the following step from the instructions: docker build -t nativescript ., then the script exits with the following:

Step 9 : RUN npm install nativescript -g --unsafe-perm
 ---> Running in 38678544f3f6
npm WARN engine nativescript@2.4.0: wanted: {"node":">=4.2.1 <5.0.0 || >=5.1.0 <8.0.0"} (current: {"node":"0.12.4","npm":"2.10.1"})
npm WARN deprecated node-uuid@1.4.3: use uuid module instead
npm ERR! tar.unpack untar error /tmp/npm-5-12dc05b1/github.com/telerik/ref-struct/tarball/v1.0.2.4
npm WARN excluding symbolic link docs/stylesheets/hightlight.css -> ../../node_modules/highlight.js/src/styles/solarized_light.css
npm ERR! Linux 4.4.27-boot2docker
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "nativescript" "-g" "--unsafe-perm"
npm ERR! node v0.12.4
npm ERR! npm  v2.10.1

npm ERR! unexpected eof
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

> nativescript@2.4.0 preuninstall /usr/local/lib/node_modules/nativescript
> node preuninstall.js

Failed to complete all pre-uninstall steps.

npm ERR! Please include the following file with any support request:
npm ERR!     /src/npm-debug.log
The command '/bin/sh -c npm install nativescript -g --unsafe-perm' returned a non-zero code: 1

I am on OSX 10.11.6, using Docker Toolbox 1.12.3.

Any ideas? Thanks!

Abel

@oren
Copy link
Owner

oren commented Nov 21, 2016

I am on ubuntu. If anyone reading it with OSX can replicate this issue, please reply here.

@formula1
Copy link

#5

Please download and test mine, hopefully your issues will be resoved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants