You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows 10: after upgrading to latest version - I get an error (was working before updating) #1242
Error: Cannot find module 'rsvp'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (C:\Users\Hans\AppData\Roaming\npm\node_modules\angular-cli\node_modules\leek\lib\leek.js:3:19)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
Error: Cannot find module 'rsvp'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (C:\Users\Hans\AppData\Roaming\npm\node_modules\angular-cli\node_modules\leek\lib\leek.js:3:19)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
Removing node_modules folder and running npm install did not solve the issue for me. I removed angular-cli and installed it again and then it worked.
npm remove -g angular-cli
npm install -g angular-cli
Even I had the same issue a few days back. After numerous npm install failed for angular-cli , the .npm modules got fried.
I would follow the steps @popstr has mentioned but perhaps add an intermediate command between npm remove and install
npm cache clean
But if that doesnt work....then we have to go for the nuke option.
So this is what I did , I upgraded node from v5.* to v6.2.2(the latest). I had shift-deleted my .npm and .npm cache folder in the Roaming directory in Windows.
Activity
neilhem commentedon Jun 29, 2016
Try to remove node_modules folder & install dependencies again
rm -rf node_modules && npm ipopstr commentedon Jul 3, 2016
Removing node_modules folder and running npm install did not solve the issue for me. I removed angular-cli and installed it again and then it worked.
npm remove -g angular-cli
npm install -g angular-cli
I'm on Ubuntu Linux 16.04 btw.
indcoder commentedon Jul 3, 2016
Even I had the same issue a few days back. After numerous npm install failed for angular-cli , the .npm modules got fried.
I would follow the steps @popstr has mentioned but perhaps add an intermediate command between npm remove and install
npm cache cleanBut if that doesnt work....then we have to go for the nuke option.
So this is what I did , I upgraded node from v5.* to v6.2.2(the latest). I had shift-deleted my .npm and .npm cache folder in the Roaming directory in Windows.
filipesilva commentedon Jul 3, 2016
Dupe of #1186.
phillipzada commentedon Jul 12, 2017
The following worked for me.
angular-automatic-lock-bot commentedon Sep 7, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.