无法使用npm install安装pyret-lang

时间:2019-04-12 19:47:14

标签: javascript npm error-handling npm-install pyret

我正在尝试从GitHub存储库安装Pyret-lang。我在节点v8.15.1npm 6.4.1上。 npm installmake phaseA-deps处失败。遇到代码错误 ELIFECYCLE errno 2

https://github.com/brownplt/pyret-lang

4746 verbose npm  v6.4.1
4747 error code ELIFECYCLE
4748 error errno 2
4749 error pyret-lang@0.0.0 install: `make phaseA-deps`
4749 error Exit status 2
4750 error Failed at the pyret-lang@0.0.0 install script.
4750 error This is probably not a problem with npm. There is likely additional logging output above.
4751 verbose exit [ 2, true ]

cp src/js/base/runtime.js build/phaseA/js/runtime.js
node -max-old-space-size=8192 lib/jglr/parser-generator.js src/js/base/pyret-grammar.bnf build/phaseA/js/pyret-grammar.js "../../../lib/jglr" "jglr/jglr" "pyret-base/js/pyret-parser"
Makefile:184: recipe for target 'build/phaseA/js/pyret-parser.js' failed
make: *** [build/phaseA/js/pyret-parser.js] Segmentation fault (core dumped)
npm WARN enoent ENOENT: no such file or directory, open '/home/amar/Pyret-lang/package.json'
npm WARN Pyret-lang No description
npm WARN Pyret-lang No repository field.
npm WARN Pyret-lang No README data
npm WARN Pyret-lang No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! pyret-lang@0.0.0 install: `make phaseA-deps`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the pyret-lang@0.0.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

0 个答案:

没有答案