google code prettify

2015年8月25日 星期二

[NPM] gulp command not found - error after installing

轉貼自http://stackoverflow.com/questions/24027551/gulp-command-not-found-error-after-installing-gulp

First,
Be sure that you have gulp and gulp.cmd (use windows search )
Then,
Copy the path of gulp.cmd ( C:\Users\XXXX\AppData\Roaming\npm)
Add this path to the Path envirement variable.
****OR***
Edit "PATH" environment variable and add %APPDATA%\npm
finally,
reopen cmd.

驗證
npm config list
出現 prefix = "C:\\Users\\bt18\\AppData\\Roaming\\npm"

沒有留言:

張貼留言