当我尝试在 ubuntu 13.10 中创建 jhipster 应用程序时yo jhipster
,生成的输出文件总是转储到错误的目录中。
例如,我yo jhipster
在目录中运行,/mnt/mercury/jhipster-test/alpha
然后文件被转储到/mnt/mercury
. 事实上,如果我yo jhipster
在任何子目录中运行,/mnt/mercury
它们总是被转储到/mnt/mercury
.
我正在使用yo version 1.1.2
标准的 ubuntu 存储库
请告知如何生成要在当前目录中输出的文件。
为了其他面临这个问题的人的利益。我设法让 Yeoman 与以下人员一起工作
npm cache clean
sudo npm rm -g yo
npm cache clean
sudo npm install -g yo