Opened 8 years ago

Last modified 8 years ago

#52614 new defect

npm3 update / install fails

Reported by: thomas.demel@… Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: iEFdev, jonasjonas (Frank Hellenkamp), dark.panda+macports@…
Port: npm3

Description

Upgrading npm3 did fail.

error after:

--->  Building npm3
--->  Staging npm3 into destroot

in mail.log:

:debug:destroot Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_npm3/npm3/work/package" && /opt/local/bin/node ./cli.js install --global . --prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_npm3/npm3/work/destroot/opt/local 
:info:destroot npm WARN lifecycle npm@3.10.8~prepublish: cannot run in wd %s %s (wd=%s) npm@3.10.8 node bin/npm-cli.js prune --prefix=. --no-global && rimraf test/*/*/node_modules && make doc-clean && make -j4 doc /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_npm3/npm3/work/package
:info:destroot npm ERR! Darwin 15.6.0
:info:destroot npm ERR! argv "/opt/local/bin/node" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_npm3/npm3/work/package/cli.js" "install" "--global" "." "--prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_npm3/npm3/work/destroot/opt/local"
:info:destroot npm ERR! node v4.6.0
:info:destroot npm ERR! npm  v3.10.8
:info:destroot 
:info:destroot npm ERR! uid must be an unsigned int
:info:destroot npm ERR! 
:info:destroot npm ERR! If you need help, you may report this error at:
:info:destroot npm ERR!     <https://github.com/npm/npm/issues>
:info:destroot 
:info:destroot npm ERR! Please include the following file with any support request:
:info:destroot npm ERR!     /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_npm3/npm3/work/package/npm-debug.log
:info:destroot Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_npm3/npm3/work/package" && /opt/local/bin/node ./cli.js install --global . --prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_npm3/npm3/work/destroot/opt/local 
:info:destroot Exit code: 1

see further info in attachment.

Attachments (2)

main.log (55.9 KB) - added by thomas.demel@… 8 years ago.
npm-debug.log (925.7 KB) - added by thomas.demel@… 8 years ago.

Download all attachments as: .zip

Change History (7)

Changed 8 years ago by thomas.demel@…

Attachment: main.log added

Changed 8 years ago by thomas.demel@…

Attachment: npm-debug.log added

comment:1 Changed 8 years ago by iEFdev

Cc: eric@… added

Cc Me!

comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ciserlohn@…

comment:3 Changed 8 years ago by jonasjonas (Frank Hellenkamp)

Cc: jonas@… added

Cc Me!

comment:4 Changed 8 years ago by dark.panda+macports@…

Cc: dark.panda+macports@… added

Cc Me!

comment:5 Changed 8 years ago by Behinder (behinder)

Not only upgrading but for me also installing from scratch

Note: See TracTickets for help on using tickets.