Monthly Archive: March 2016

npm list available versions of a package 1

npm list available versions of a package

As an exam­ple, to check which ver­sions of expressjs are avail­able on npm, you do the fol­low­ing npm info express ver­sions Of course, you can always grep for the ver­sion you are look­ing for npm…

0

grep for a word in all files in linux

The fol­low­ing com­mand will search for the string “hello” in the con­tent of all the files within all sub­fold­ers of the spec­i­fied path grep –r “hello” /path/to/search/

0

Module build failed: ReferenceError: Promise is not defined

Have you run into the fol­low­ing errors while build­ing the app using web­pack ? ERROR in ./~/css-loader!./src/styles/app.css Mod­ule build failed: Ref­er­enceEr­ror: Promise is not defined Solu­tion : Upgrade the node ver­sion to the lat­est stable…