Open balajikris opened 7 years ago
That's weird, I'm using nvm
as well and everything works fine here. Will have to look into this but I don't have much time these days to work on it. So all help is much appreciated.
Oh that's definitely odd If it's expected to work. Any quick tips for me to try out to rule out certain things ? I tried uninstall/reinstall (in a guess that i switched to nvm after i had installed vscode-yo) but that didn't help.
I'll try to debug, but I need this working in a hurry for something else now. So I couldnt afford to offer help immediately.
this is the piece of code that tries to resolve the correct directory. It seems that it's not working correctly for nvm
on Windows.
If you can find a way to detect the correct path on windows
, that would be great.
thanks for the tip. I'll update the thread if i make progress. I'm going to either turn off nvm or use a mac to unblock myself temporarily 😄
Or use the command line for now ;).
I'm seeing that with nvm to manage nodejs/npm installations, vscode-yo when invoked says "install some generators first". I'm confident my generators are alright because they seem to work when invoked from command line. So, it looks like vscode-yo couldn't find npm install path?
with nvm, my npm path is no longer at
%USERPROFILE%\AppData\Roaming\npm
but its at%USERPROFILE%\AppData\Roaming\nvm\v7.6.0\
Is this a known issue or do i need to change some default setting to get this to work. Please help.