bleeding-edge-sample-app icon indicating copy to clipboard operation
bleeding-edge-sample-app copied to clipboard

npm start gives weird error 8 with Unexpected token ILLEGAL

Open Oyindrila2305 opened this issue 8 years ago • 0 comments

I am getting weird error 8 with below output while doing npm start:

SyntaxError: Unexpected token ILLEGAL at Module._compile (module.js:439:25) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:902:3 npm ERR! weird error 8

npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian

npm ERR! not ok code 0

I have installed nodejs-legacy

$ which nodejs /usr/bin/nodejs

Can somebody help with it.

Oyindrila2305 avatar Sep 22 '16 12:09 Oyindrila2305