2015-11-16 81 views
3

安装哨兵8.0.0有:哨兵步骤的WebPack -p安装错误--bail

pip install -e . 

了以下错误:

running [webpack] 
Container#eachAtRule is deprecated. Use Container#walkAtRules instead. 
Container#eachRule is deprecated. Use Container#walkRules instead. 
Container#eachDecl is deprecated. Use Container#walkDecls instead. 
Node#removeSelf is deprecated. Use Node#remove. 
Traceback (most recent call last): 
    File "/www/sentry/sentry/setup.py", line 264, in run 
    self._build_static() 
    File "/www/sentry/sentry/setup.py", line 306, in _build_static 
    cwd=work_path, env=env) 
    File "/usr/lib/python2.7/subprocess.py", line 544, in check_output 
    raise CalledProcessError(retcode, cmd, output=output) 
CalledProcessError: Command '['node_modules/.bin/webpack', '-p', '--bail']' returned non 
-zero exit status -9 
unable to build Sentry's static assets! 
Hint: You might be running an invalid version of NPM. 

---------------------------------------- 
Command "/www/sentry/bin/python -c "import setuptools, tokenize; __file__='/www/sentry/sentry/setup.py'; exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps" failed with error code 1 in /www/sentry/sentry 

我试过[email protected] [email protected] [email protected]所有我以前不工作

回答

0

什么你可以尝试是这样的,看看你得到一个更好的错误:

  • 拉下哨兵源代码
  • 运行“故宫安装”从哨兵根目录

我们要求节点0.10.x或更高版本,但它应该在最新的版本上运行。我相信我们在本地测试0.10和0.12。

+0

谢谢!我重试使用版本的节点0.10.40是工作,但node-v0.12.6具有相同的错误。 – xiaowu