1
我试图部署我的通用node.js应用程序到弹性beanstalk,当我尝试运行postinstall步骤时遇到权限错误。有没有我应该在弹性豆茎上设置的配置?使用webpack时Elastic beanstalk postinstall错误
"postInstall": "node_modules/.bin/webpack --config webpack.config.production.js",
错误
Error: EACCES: permission denied, open '/tmp/deployment/application/node_modules/unicode/category/Cc.js'
at Error (native)
npm ERR! Linux 4.9.27-14.31.amzn1.x86_64
npm ERR! argv "/opt/elasticbeanstalk/node-install/node-v6.10.0-linux-x64/bin/node" "/opt/elasticbeanstalk/node-install/node-v6.10.0-linux-x64/bin/npm" "--production" "rebuild"
npm ERR! node v6.10.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: `node install.js`
,你能否告诉任何的WebPack配置的? –