[wp-trac] [WordPress Trac] #30787: Shrinkwrap NPM dependencies

WordPress Trac noreply at wordpress.org
Tue Dec 15 08:15:51 UTC 2015


#30787: Shrinkwrap NPM dependencies
------------------------------+--------------------
 Reporter:  jorbin            |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  4.4.1
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  2nd-opinion       |     Focuses:
------------------------------+--------------------

Comment (by nacin):

 I tried to run `npm shrinkwrap` on 4.4 so I could upload the json here and
 so it could be committed to the branch. It errored out. Here's `npm-
 debug.log`:

 {{{
 0 info it worked if it ends with ok
 1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'shrinkwrap'
 ]
 2 info using npm at 1.3.24
 3 info using node at v0.10.25
 4 verbose node symlink /usr/local/bin/node
 5 error Error: Problems were encountered
 5 error Please correct and try again.
 5 error extraneous: autoprefixer-core at 5.2.1
 develop.svn.wordpress.org/branches/4.4/node_modules/autoprefixer-core
 5 error     at shrinkwrap_
 (/usr/local/node-v0.10.25-linux-x64/lib/node_modules/npm/lib/shrinkwrap.js:29:15)
 5 error     at
 /usr/local/node-v0.10.25-linux-x64/lib/node_modules/npm/lib/shrinkwrap.js:23:5
 5 error     at
 /usr/local/node-v0.10.25-linux-x64/lib/node_modules/npm/lib/ls.js:43:30
 5 error     at
 /usr/local/node-v0.10.25-linux-x64/lib/node_modules/npm/node_modules/read-
 installed/read-installed.js:119:5
 5 error     at
 /usr/local/node-v0.10.25-linux-x64/lib/node_modules/npm/node_modules/read-
 installed/read-installed.js:240:14
 5 error     at cb
 (/usr/local/node-v0.10.25-linux-x64/lib/node_modules/npm/node_modules/slide/lib
 /async-map.js:48:11)
 5 error     at
 /usr/local/node-v0.10.25-linux-x64/lib/node_modules/npm/node_modules/read-
 installed/read-installed.js:240:14
 5 error     at cb
 (/usr/local/node-v0.10.25-linux-x64/lib/node_modules/npm/node_modules/slide/lib
 /async-map.js:48:11)
 5 error     at
 /usr/local/node-v0.10.25-linux-x64/lib/node_modules/npm/node_modules/read-
 installed/read-installed.js:240:14
 5 error     at cb
 (/usr/local/node-v0.10.25-linux-x64/lib/node_modules/npm/node_modules/slide/lib
 /async-map.js:48:11)
 6 error If you need help, you may report this *entire* log,
 6 error including the npm and node versions, at:
 6 error     <http://github.com/isaacs/npm/issues>
 7 error System Linux 3.2.0-4-amd64
 8 error command "/usr/local/bin/node" "/usr/local/bin/npm" "shrinkwrap"
 9 error cwd /home/svn/checkouts/develop.svn.wordpress.org/branches/4.4
 10 error node -v v0.10.25
 11 error npm -v 1.3.24
 12 verbose exit [ 1, true ]
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30787#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list