Closed onokumus closed 7 years ago
@onokumus are you running this in an existing project/folder?
Also... please try running with gen gitignore -v
to show the entire stacktrace and post that here to help debug.
@doowb I installed it globally with the command
npm install --global generate generate-project
Then I give the
gen project
command in an empty project-folder. It gives the error above. I searched one by one to see which modules did not work. I saw the generate-gitignore
module not working. The others are working. For example, generate-readme
. But the generate-gitignore
module does not work.
In addition, the output of the command
gen gitignore -v
is the same as the error above.
@onokumus thanks for the additional information, I didn't notice that you were running on linux before.
I was able to confirm this on ubuntu with node 7.5.0
and 6.9.5
, but it might take some time to debug (mainly because linux isn't my default dev environment).
Thanks @doowb
@onokumus this should be fixed. You should uninstall both generate
and generate-project
from the global node modules:
npm uninstall -g generate generate-project
Then I usually clear the npm cache before reinstalling:
npm cache clear && npm cache clear -g
Then reinstall with the command you used above:
npm install --global generate generate-project
Let us know if you have any more issues.
@doowb Thanks. It's work!.
node : v7.5.0 npm : v4.1.2 os : Linux 4.9.6-1