我正在关注Meteor书和路线教程。卡在这里。有什么想法吗?
mars:meteor_projs mbp$ mrt create test
test: created.
To run your new app:
cd test
meteor
mars:meteor_projs mbp$ cd test
mars:test mbp$ mrt add router
✓ router
tag: https://github.com/tmeasday/meteor-router.git#v0.5.4.1
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:980:11)
at Process.ChildProcess._handle.onexit (child_process.js:771:34)
有什么想法吗?
现在,当我使用mrt update
更新项目时,我得到了这个mars:microscope2 stan$ mrt update
✓ router
tag: https://github.com/tmeasday/meteor-router.git#v0.5.4.1
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:980:11)
at Process.ChildProcess._handle.onexit (child_process.js:771:34)
我应该完全删除流星吗?
答案 0 :(得分:1)
我试图重现你的问题......但一切都在我身边:
➜ meteor-router-t-e cd test
➜ test mrt add router
✓ router
tag: https://github.com/tmeasday/meteor-router.git#v0.5.4.1
✓ page-js-ie-support
tag: https://github.com/tmeasday/meteor-page-js-ie-support.git#v1.3.5
✓ HTML5-History-API
tag: https://github.com/tmeasday/meteor-HTML5-History-API.git#v4.0.0
Done installing smart packages
Stand back while Meteorite does its thing
Done installing smart packages
Ok, everything's ready. Here comes Meteor!
router: updating npm dependencies -- connect...
router: A reactive router built on page.js
➜ test
我的环境:
➜ meteor-router-t-e lsb_release --all
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring
➜ meteor-router-t-e mrt --version
Meteorite version 0.6.15
Release 0.6.6.3
➜ meteor-router-t-e node --version
v0.10.21
您使用的是什么env(操作系统,流星,mrt,节点)?