Skip to content

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

Open
@cookingfox

Description

@cookingfox

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 [email protected]: 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 [email protected]: 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>

> [email protected] 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions