Thursday 8 June 2017

webpack-dev-server error on node js app deployment on gcloud

I am trying to deploy my node js application on gcloud app engine. Project uses web pack-dev-server as a dev dependency. When I run it on gcloud as a localhost using npm install all works fine and there is no compilation error. But when I am deploying using gcloud app deploy I get the error below.

> webpack-dev-server --content-base src --inline --hot --progres

ssh: 1:webpack-dev-server: not found

I tried giving root access to node_module folder. I am using node v6.11.0 and npm 3.6.0. Any idea what could be the issue?



via Evol Gate

No comments:

Post a Comment