Visual Studio 2015 Hangs On Ripple Rollout
I get this error periodically when trying to deploy my ripple app
3> Cordova 3.0 project found ... 3> [32mINFO: [39m Could not find Cordova as local module. Expecting it to be installed globally.
I am running VS2015 as Administrator (this seems to have been solved on VS2013)
Cordova is installed globally.
I tried to locally set cordova at ripple level but no luck ...
If I restart it it works fine again (at least most of the time), but it's a terrible workaround and kills performance
How to fix it correctly?
source to share
Still not sure what the problem is.
Tracked until the app.use callback is never called (inside ripple.js% AppData% \ Roaming \ npm \ node_modules \ vs-tac)
It looks like the node.exe process is left in some kind of inconsistent state in these failed scenarios.
At least a workaround:
Kill nodejs.exe via task manager and try again.
Not perfect, but I can live with him for a while.
EDIT:
In the end, I reinstalled NodeJS completely and the error seemed to be 100% gone this way.
source to share