ember.js在优胜美地建造失败

时间:2014-10-30 19:48:11

标签: ember.js

我不认为这是ember或npm的问题。但我不知道从哪里开始寻找。我不断收到以下错误消息:

npm ERR! ember@1.8.0 build: `ember build --environment production`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the ember@1.8.0 build script.
npm ERR! This is most likely a problem with the ember package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ember build --environment production
npm ERR! You can get their info via:
npm ERR!     npm owner ls ember
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 14.0.0
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! cwd /Users/myname/Documents/Github/EmberJS
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE

npm-debug.log的内容如下:

0 info it worked if it ends with ok

1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'build' ]

2 info using npm@1.4.28

3 info using node@v0.10.33

4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]

5 info prebuild ember@1.8.0

6 info build ember@1.8.0

7 verbose unsafe-perm in lifecycle true

8 info ember@1.8.0 Failed to exec build script

9 error ember@1.8.0 build: `ember build --environment production`

9 error Exit status 1

10 error Failed at the ember@1.8.0 build script.

10 error This is most likely a problem with the ember package,

10 error not with npm itself.

10 error Tell the author that this fails on your system:

10 error     ember build --environment production

10 error You can get their info via:

10 error     npm owner ls ember

10 error There is likely additional logging output above.

11 error System Darwin 14.0.0

12 error command "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"

13 error cwd /Users/dewald/Documents/Github/EmberJS

14 error node -v v0.10.33

15 error npm -v 1.4.28

16 error code ELIFECYCLE

17 verbose exit [ 1, true ]

有人可以指出我正确的方向吗?

我注意到的其他可能与之相关的事情是入门套件似乎没有按预期工作。我尝试了Safari(我在Mac上)和谷歌浏览器。 Chrome会显示该页面,但就此而言。

由于

1 个答案:

答案 0 :(得分:0)

好的文档说:

1)npm install

2)npm run build

你需要在构建之前通过bower安装一些组件。例如 凉亭安装

猜猜我有新手问题。