首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >用酵母产生最终种子的错误

用酵母产生最终种子的错误
EN

Stack Overflow用户
提问于 2014-08-18 18:51:32
回答 1查看 132关注 0票数 1

我正在尝试使用终极种子生成器创建我的第一个约曼网络应用程序。但是,我得到以下错误:

代码语言:javascript
复制
C:\Users\Fidel\Desktop\Nueva carpeta\new-proyect>npm install



> ultimate-seed@0.3.12 preinstall C:\Users\Fidel\Desktop\Nueva carpeta\new-proyect
> node npm-scripts preinstall

npm preinstall script executed
\


> ultimate-seed@0.3.12 postinstall C:\Users\Fidel\Desktop\Nueva carpeta\new-proyect
> node npm-scripts postinstall

npm postinstall script executed
{ [Error: Command failed: cp: invalid option -- n
Try `cp --help' for more information.
] killed: false, code: 1, signal: null }
-
npm ERR! ultimate-seed@0.3.12 postinstall: `node npm-scripts postinstall`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ultimate-seed@0.3.12 postinstall script.
npm ERR! This is most likely a problem with the ultimate-seed package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node npm-scripts postinstall
npm ERR! You can get their info via:
npm ERR!     npm owner ls ultimate-seed
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! cwd C:\Users\Fidel\Desktop\Nueva carpeta\new-proyect
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\Users\Fidel\Desktop\Nueva carpeta\new-proyect\npm-debug.log
npm ERR! not ok code 0

我很确定节点js和yeoman都安装好了。我认为这可能是一个窗口和尤曼的问题。有人知道这事吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-08-18 19:05:12

问题是,post-install脚本使用unix cp命令复制文件。如果你在Windows上,那是行不通的

您可以在windows上在cygwin或其他unix类型的shell下运行npm install

然而,那个软件包已从国家预防机制中删除 --你应该试着找一个最新的,然后用它代替。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/25370123

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档