[wp-trac] [WordPress Trac] #30787: Shrinkwrap NPM dependencies
WordPress Trac
noreply at wordpress.org
Tue Dec 15 08:22:34 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):
Based on [33129], I removed node_modules/autoprefixer-core. Now I'm seeing
this on `npm install`:
{{{
# npm install
npm WARN package.json WordPress at 4.4.1 No README data
npm WARN unmet dependency
develop.svn.wordpress.org/branches/4.4/node_modules/grunt-contrib-
imagemin/node_modules/imagemin/node_modules/meow/node_modules/read-pkg-
up/node_modules/find-up requires path-exists@'^2.0.0' but will load
npm WARN unmet dependency
develop.svn.wordpress.org/branches/4.4/node_modules/grunt-contrib-
imagemin/node_modules/imagemin/node_modules/path-exists,
npm WARN unmet dependency which is version 1.0.0
npm WARN unmet dependency
develop.svn.wordpress.org/branches/4.4/node_modules/grunt-contrib-
imagemin/node_modules/imagemin/node_modules/meow/node_modules/read-pkg-
up/node_modules/read-pkg requires normalize-package-data@'^2.3.2' but will
load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency
develop.svn.wordpress.org/branches/4.4/node_modules/grunt-contrib-
imagemin/node_modules/imagemin/node_modules/vinyl-fs/node_modules/glob-
stream/node_modules/unique-
stream/node_modules/through2-filter/node_modules/through2 requires
xtend@'~4.0.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency
develop.svn.wordpress.org/branches/4.4/node_modules/grunt-contrib-
imagemin/node_modules/imagemin/node_modules/imagemin-
gifsicle/node_modules/through2 requires readable-stream@'>=1.0.33-1
<1.1.0-0' but will load
npm WARN unmet dependency
develop.svn.wordpress.org/branches/4.4/node_modules/grunt-contrib-
imagemin/node_modules/imagemin/node_modules/readable-stream,
npm WARN unmet dependency which is version 2.0.4
npm WARN unmet dependency
develop.svn.wordpress.org/branches/4.4/node_modules/grunt-contrib-
imagemin/node_modules/imagemin/node_modules/imagemin-
optipng/node_modules/through2 requires readable-stream@'>=1.0.33-1
<1.1.0-0' but will load
npm WARN unmet dependency
develop.svn.wordpress.org/branches/4.4/node_modules/grunt-contrib-
imagemin/node_modules/imagemin/node_modules/readable-stream,
npm WARN unmet dependency which is version 2.0.4
}}}
It returns exit code 0, which is why the build continues to work, but
shrinkwrap understandably fails.
I've uploaded the build server's `node_modules` here for debugging.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30787#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list