banacorn / language-agda

Agda language support for the Atom editor
https://atom.io/packages/language-agda
MIT License
13 stars 5 forks source link

Installing “language-agda@1.2.0” failed #35

Closed andyfreeyy closed 4 years ago

andyfreeyy commented 4 years ago

Installing failed with output:

> tree-sitter-agda@1.3.0 install /private/var/folders/zb/6mbtnt3j3_j9qcm_8qmbm2680000gn/T/apm-install-dir-2020421-52348-1j96m65.4tg7/node_modules/language-agda/node_modules/tree-sitter-agda
> prebuild-install || npx node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=5.0.13 runtime=electron arch=x64 libc= platform=darwin)
sh: npx: command not found
npm WARN enoent ENOENT: no such file or directory, open '/private/var/folders/zb/6mbtnt3j3_j9qcm_8qmbm2680000gn/T/apm-install-dir-2020421-52348-1j96m65.4tg7/package.json'
npm WARN apm-install-dir-2020421-52348-1j96m65.4tg7 No description
npm WARN apm-install-dir-2020421-52348-1j96m65.4tg7 No repository field.
npm WARN apm-install-dir-2020421-52348-1j96m65.4tg7 No README data
npm WARN apm-install-dir-2020421-52348-1j96m65.4tg7 No license field.

npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! tree-sitter-agda@1.3.0 install: `prebuild-install || npx node-gyp rebuild`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the tree-sitter-agda@1.3.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/xielingyuan/.atom/.apm/_logs/2020-05-21T01_11_47_895Z-debug.log
andyfreeyy commented 4 years ago

fixed with installing node