robwormald / ng-universal-demo

256 stars 125 forks source link

Appengine deploy failing #31

Closed pankajmi closed 7 years ago

pankajmi commented 7 years ago

I cloned the repo and tried to deploy this app in appengine - gcloud app deploy app.yaml, but it failed for because rimraf not found, so I had to move all devDependencies in dependencies and then rerun the deploy and now I get following error and no clue how to resolve -

Updating service [default]...failed.                                                                                                                                                           
ERROR: (gcloud.app.deploy) Error Response: [9] 
Application startup error:

> ng-universal-demo@1.0.0 start /app
> npm run build && npm run server

> ng-universal-demo@1.0.0 prebuild /app
> npm run clean

> ng-universal-demo@1.0.0 clean /app
> rimraf dist

> ng-universal-demo@1.0.0 build /app
> webpack

Killed

npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/nodejs/bin/node" "/nodejs/bin/npm" "run" "build"
npm ERR! node v6.11.1
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! ng-universal-demo@1.0.0 build: `webpack`
npm ERR! Exit status 137
npm ERR! 
npm ERR! Failed at the ng-universal-demo@1.0.0 build script 'webpack'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ng-universal-demo package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     webpack
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs ng-universal-demo
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls ng-universal-demo
npm ERR! There is likely additional logging output above.