2015-11-16 74 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