-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
Severity:has-workaroundType:BugconfirmedWe want to fix or implement itWe want to fix or implement it
Milestone
Description
Reproduction:
meteor create --release 3.0-alpha.19 test
cd test
meteor build --directory ../test-bundle
cd ../test-bundle/bundle/programs/server
# make sure node and npm versions match the versions in test-bundle/bundle/star.json
npm install
npm install
errors with:
npm ERR! code EACCES
npm ERR! syscall open
npm ERR! path /tmp/test-bundle/bundle/programs/server/npm-shrinkwrap.json
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, open '/tmp/test-bundle/bundle/programs/server/npm-shrinkwrap.json'
npm ERR! [Error: EACCES: permission denied, open '/tmp/test-bundle/bundle/programs/server/npm-shrinkwrap.json'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'open',
npm ERR! path: '/tmp/test-bundle/bundle/programs/server/npm-shrinkwrap.json'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
For some reason npm tries to write to npm-shrinkwrap.json
which fails since Meteor has always created it as a read only file. Old versions of Meteor worked correctly. There might be an issue with the npm-shrinkwrap.json file used in Meteor 3, or this might be caused by using a newer version of npm (though I wouldn't expect npm to try to update the shrinkwrap.json in this scenario).
harryadel
Metadata
Metadata
Assignees
Labels
Severity:has-workaroundType:BugconfirmedWe want to fix or implement itWe want to fix or implement it