Closed johna1203 closed 10 years ago
@johna1203 What is the output of yo --help
I'm experiencing the same issue, and my yo --help only outputs Jquery-boilerplate, Mocha and webapp.
So it seems that generator-node-webkit is not installed.
@stuartnkent What is the output of sudo npm install -g generator-node-webkit
?
I solved. I tried to install other generator has the same problem. it seems that my npm setup prefix was wrong. "generator-node-webkit" was installed in the wrong folder (/home/user/npm) and when executing "yo node-webkit" I guess it was reading the folder "/usr/local/lib" I think this was the problem. i have re-configured the npm and it worked.
Thank you for helping.
Hi mschaaf, I'm running node on windows, which may be something to do with the issue.
It does appear to be a similar issue to Johna, and the issue does appear to lie with my Yeoman/npm setup. Sorry!
Hi @stuartnkent
check your config.
$ npm config get prefix
and try to set the same value in the global config.
$ npm config set prefix '/usr/local/lib'
$ npm config set prefix '/usr/local/lib' --global
I do not know if this can be the solution.
Nice to hear that your problems are solved. Happy developing.
What did might be happening? Can anyone help me solve? :(
Thank you.