当我尝试在 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