I have a docker container build that is suddenly failing today on the postinstall.js … Anyone else seeing this?
serverless@1.15.1 postinstall /bin/versions/node/v4.2.1/lib/node_modules/serverless
node ./scripts/postinstall.js
e[91m/bin/versions/node/v4.2.1/lib/node_modules/serverless/node_modules/write-file-atomic/index.js:132
throw err
^
Error: EACCES: permission denied, open ‘/root/.serverlessrc.3387692993’
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at Function.writeFileSync [as sync] (/bin/versions/node/v4.2.1/lib/node_modules/serverless/node_modules/write-file-atomic/index.js:117:17)
at createConfig (/bin/versions/node/v4.2.1/lib/node_modules/serverless/lib/utils/config/index.js:30:19)
at getConfig (/bin/versions/node/v4.2.1/lib/node_modules/serverless/lib/utils/config/index.js:44:5)
at Object.get (/bin/versions/node/v4.2.1/lib/node_modules/serverless/lib/utils/config/index.js:90:18)
at isTrackingDisabled (/bin/versions/node/v4.2.1/lib/node_modules/serverless/lib/utils/isTrackingDisabled.js:6:22)
at Object. (/bin/versions/node/v4.2.1/lib/node_modules/serverless/lib/utils/segment.js:9:30)
at Module._compile (module.js:435:26)
at Object.Module._extensions…js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object. (/bin/versions/node/v4.2.1/lib/node_modules/serverless/lib/classes/Utils.js:14:17)
at Module._compile (module.js:435:26)
e[0m
e[91mnpm ERR! Linux 4.4.0-78-generic
npm ERR! argv “/bin/versions/node/v4.2.1/bin/node” “/bin/versions/node/v4.2.1/bin/npm” “install” “-g” “serverless”
npm ERR! node v4.2.1
npm ERR! npm v2.14.7
npm ERR! code ELIFECYCLE
npm ERR! serverless@1.15.1 postinstall: node ./scripts/postinstall.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the serverless@1.15.1 postinstall script ‘node ./scripts/postinstall.js’.
npm ERR! This is most likely a problem with the serverless package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./scripts/postinstall.js
npm ERR! You can get their info via:
npm ERR! npm owner ls serverless