Colum Colum - 2 months ago 20x
Linux Question

Deploy Webpack Angular 2 App

I'm trying to deploy an Angular 2 app on Ubuntu and I am getting this error when I run

npm start

> webpack-dev-server --inline --progress --port 8080

npm ERR! weird error 1
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read

npm ERR! not ok code 0

not only this but i can't find documentation anywhere on how to deploy an angular 2 app with webpack, not even on

The code I am trying to deploy can be found here:

Any Help is appreciated


try this from this link of stackoverflow duplicate of this i think

sudo apt-get install nodejs-legacy