嗨!我试图安装带有角味的Meteor,但是当我尝试安装角度项目时,处理'摊位'在循环中像:
我在GitList上发布了我的问题: https://github.com/Urigo/angular-meteor/issues/1461
[]我正在运行Meteor 1.4.1.3。版本angular-meteor
mongo从1.1.12_5升级到1.1.13
npm-mongo从2.2.10_1升级到2.2.11_1
meteor-angular-socialially-master:更新为Meteor 1.4.1.3。
[]我使用
我预计angular-meteor会运行,并显示localhost:3000,但之后它没有显示任何内容。 我在我的环境中遇到了角度流星的困扰。 我git克隆项目。
无法解析某些模块:
" @角/核心"在/Users/jchiu/Downloads/meteor-angular-socially-master/imports/ui/filters/uninvitedPipe.js(web.browser) " @角/平台的浏览器"在/Users/jchiu/Downloads/meteor-angular-socially-master/client/main.js(web.browser) " @角/表格"在/Users/jchiu/Downloads/meteor-angular-socially-master/client/main.js(web.browser) " @角/升级"在/Users/jchiu/Downloads/meteor-angular-socially-master/client/main.js(web.browser) " @角/材料"在/Users/jchiu/Downloads/meteor-angular-socially-master/client/main.js(web.browser) " NG-IMG-作物/编译/缩小的/ NG-IMG-作物" in /Users/jchiu/Downloads/meteor-angular-socially-master/imports/ui/components/partyUpload/partyUpload.js(web.browser) " NG-IMG-作物/编译/缩小的/ NG-IMG-crop.css" in /Users/jchiu/Downloads/meteor-angular-socially-master/imports/ui/components/partyUpload/partyUpload.js(web.browser) "流"在/Users/jchiu/Downloads/meteor-angular-socially-master/node_modules/gm/lib/command.js(web.browser) "事件"在/Users/jchiu/Downloads/meteor-angular-socially-master/node_modules/gm/index.js(web.browser) " util的"在/Users/jchiu/Downloads/meteor-angular-socially-master/node_modules/lru-cache/lib/lru-cache.js(web.browser) " FS" in /Users/jchiu/Downloads/meteor-angular-socially-master/node_modules/which/which.js(web.browser) " child_process" in /Users/jchiu/Downloads/meteor-angular-socially-master/node_modules/cross-spawn/index.js(web.browser) "路径" in /Users/jchiu/Downloads/meteor-angular-socially-master/node_modules/which/which.js(web.browser) "产卵同步" in /Users/jchiu/Downloads/meteor-angular-socially-master/node_modules/cross-spawn/index.js(web.browser) " angular2-流星" in /Users/jchiu/Downloads/meteor-angular-socially-master/imports/ui/components/partyUninvited/partyUninvited.js(web.browser) "角材料" in /Users/jchiu/Downloads/meteor-angular-socially-master/imports/ui/components/socially/socially.js(web.browser) "角sanitize方法" in /Users/jchiu/Downloads/meteor-angular-socially-master/imports/ui/components/socially/socially.js(web.browser) "离子-SDK /释放/ JS /离子" in /Users/jchiu/Downloads/meteor-angular-socially-master/imports/ui/components/socially/socially.js(web.browser) "离子-SDK /释放/ JS /离子 - 角" in /Users/jchiu/Downloads/meteor-angular-socially-master/imports/ui/components/socially/socially.js(web.browser) "离子-SDK /释放/ CSS / ionic.css" in /Users/jchiu/Downloads/meteor-angular-socially-master/imports/ui/components/socially/socially.js(web.browser)
如果您发现与这些缺失模块相关的问题,请考虑运行:
meteor npm install --save @angular ng-img-crop meteor-node-stubs spawn-sync angular2-meteor angular-material angular-sanitize ionic-sdk
npm ERR! addLocal无法安装/ Users / jchiu / Downloads / meteor-angular-socialially-master / @ angular 错误的ERR!达尔文16.1.0 错误的ERR! argv" /Users/jchiu/.meteor/packages/meteor-tool/.1.4.2.zi1w5b++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle / bin中/节点" " /Users/jchiu/.meteor/packages/meteor-tool/.1.4.2.zi1w5b++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/箱/ NPM" "安装" " - 保存" " @角" " NG-IMG-作物" "流星节点存根" "产卵同步" " angular2-流星" "角材料" "角sanitize方法" "离子-SDK" 错误的ERR!节点v4.6.1 错误的ERR! npm v3.10.9 错误的ERR! path / Users / jchiu / Downloads / meteor-angular-socialially-master / @ angular 错误的ERR!代码ENOENT 错误的ERR! errno -2 错误的ERR!系统调用打开
npm ERR! enoent ENOENT:没有这样的文件或目录,打开' / Users / jchiu / Downloads / meteor-angular-socialially-master / @ angular' 错误的ERR! enoent ENOENT:没有这样的文件或目录,打开' / Users / jchiu / Downloads / meteor-angular-socialially-master / @ angular' 错误的ERR! enoent这很可能不是npm本身的问题 错误的ERR! enoent并且与npm无法找到文件有关。 错误的ERR! ENOENT
W20161027-11:35:50.089(-7)? (STDERR)ufs:没有为商店" thumb"定义权限。 W20161027-11:35:50.259(-7)? (STDERR)ufs:没有为商店"图像"定义权限。 =>开始使用您的应用。
答案 0 :(得分:0)
我能够解决问题。
错误导致我的本地节点版本很旧! 它可能是v0.10.0或更低,然后再次注意所有可能的信息是很重要的。正如我在下面的spawn-cross https://github.com/IndigoUnited/node-cross-spawn/blob/master/index.js#L34中看到的那样,您需要运行以下内容:
$ meteor npm install --save spawn-sync
这是显而易见的解决方案,但我建议只使用npm升级节点的版本。