-
Notifications
You must be signed in to change notification settings - Fork 37.9k
Description
After installing a node package from the terminal ( npm install {package} ), Visual Studio Code fails to find the local installation of gulp, and this error is thrown:
Local gulp not found in C:\... Try running: npm install gulp
Even re-running npm install gulp-cli or npm install gulp-cli -g does not always seem to resolve the issue. I usually have to delete node_modules folder and run a full npm install before the issue resolves. This, unfortunately, doesn't always help in the event the package I'm installing isn't part of the package.json (for instance, if I'm testing a new package for a company boilerplate).
- VSCode Version: 1.28.0
- OS Version: Windows 10 (1803)
Steps to Reproduce:
- Run a gulp task from the vscode terminal
- Install a new package using
npm iornpm install - Try to run the same gulp task in vscode terminal
Other info, if it helps debug:
I have user settings set to override the default integrated terminal's cwd (current working directory).
Does this issue occur when all extensions are disabled?: Yes