Guest User

Untitled

a guest
Nov 14th, 2018
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. Command execution failed: Activity failed. (ElasticBeanstalk::ActivityFatalError)
  2. caused by:
  3. > app@0.5.0 build /tmp/deployment/application
  4. > webpack
  5.  
  6.  
  7. npm ERR! Linux 4.14.47-56.37.amzn1.x86_64
  8. npm ERR! argv "/opt/elasticbeanstalk/node-install/node-v6.14.3-linux-x64/bin/node" "/bin/npm" "run" "build"
  9. npm ERR! node v6.14.3
  10. npm ERR! npm v3.10.10
  11. npm ERR! file sh
  12. npm ERR! path sh
  13. npm ERR! code ELIFECYCLE
  14. npm ERR! errno ENOENT
  15. npm ERR! syscall spawn sh
  16. npm ERR! app@0.5.0 build: `webpack`
  17. npm ERR! spawn sh ENOENT
  18. npm ERR!
  19. npm ERR! Failed at the app@0.5.0 build script 'webpack'.
  20. npm ERR! Make sure you have the latest version of node.js and npm installed.
  21. npm ERR! If you do, this is most likely a problem with the app package,
  22. npm ERR! not with npm itself.
  23. npm ERR! Tell the author that this fails on your system:
  24. npm ERR! webpack
  25. npm ERR! You can get information on how to open an issue for this project with:
  26. npm ERR! npm bugs app
  27. npm ERR! Or if that isn't available, you can get their info via:
  28. npm ERR! npm owner ls app
  29. npm ERR! There is likely additional logging output above.
  30. npm ERR! Linux 4.14.47-56.37.amzn1.x86_64
  31. npm ERR! argv "/opt/elasticbeanstalk/node-install/node-v6.14.3-linux-x64/bin/node" "/bin/npm" "run" "build"
  32. npm ERR! node v6.14.3
  33. npm ERR! npm v3.10.10
  34. npm ERR! code ELIFECYCLE
  35.  
  36. container_commands:
  37. 00_npm_build:
  38. command: "sudo npm run build"
  39.  
  40. "main": "app.js",
  41. "scripts": {
  42. "start": "node app.js",
  43. "build": "webpack",
  44. "test": "echo "Error: no test specified" && exit 1",
  45. "sql": "./node_modules/sequelize-cli/lib/sequelize",
  46. "sql:migrate": "npm run sql db:migrate"
  47. },
  48.  
  49. module.exports = {
  50. entry: "./public/index.js",
  51. output: {
  52. path: __dirname + "/dist",
  53. filename: "bundle.js"
  54. },
  55. module: {
  56. loaders: [
  57. {
  58. test: /.js$/,
  59. exclude: /node_modules/,
  60. loader: "babel-loader"
  61. },
  62. {
  63. test: /.jsx$/,
  64. exclude: /node_modules/,
  65. loader: "babel-loader"
  66. }
  67. ]
  68. },
  69. };
Add Comment
Please, Sign In to add comment