google / web-starter-kit

Web Starter Kit - a workflow for multi-device websites
http://developers.google.com/web/starter-kit
Apache License 2.0
18.42k stars 3.01k forks source link

Problem starting Node #930

Open sunblade1882 opened 7 years ago

sunblade1882 commented 7 years ago

Hello. I was having a problem starting my server but after i reconstructed my npm packages I had everything up and running. I had to restart but now I'm getting this error everytime i try to start it up again. I tried installing the legacy node package but still no luck.

/home/indus/Desktop/RocoRahu1/rocorahu_prod/node_modules/winston/lib/winston/logger.js:475 var instance = created ? transport : (new (transport)(options)); ^ TypeError: undefined is not a function at Logger.add (/home/indus/Desktop/RocoRahu1/rocorahu_prod/node_modules/winston/lib/winston/logger.js:475:41) at Object.winston.(anonymous function) [as add] (/home/indus/Desktop/RocoRahu1/rocorahu_prod/node_modules/winston/lib/winston.js:87:34) at Object. (/home/indus/Desktop/RocoRahu1/rocorahu_prod/routes/index.js:36:9) at Module._compile (module.js:456:26) 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 Module.require (module.js:364:17) at require (module.js:380:17) at Object. (/home/indus/Desktop/RocoRahu1/rocorahu_prod/app.js:21:14) 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

Any help would be appreciated