Open nasherm opened 5 years ago
I guess this happens after upgrading Atom. Please uninstsall and then reinstall and the problem should go away (I should put this in README)
I saw this issue as well. After uninstalling language-agda
, I can't install it anymore:
Installing “language-agda@1.2.0” failed.Hide output…
> tree-sitter-agda@1.2.1 install /private/var/folders/yn/l09rsn154v773c4pnvd58f_r0000gn/T/apm-install-dir-119107-76548-xd46ok.cewl9/node_modules/language-agda/node_modules/tree-sitter-agda
> prebuild-install || npx node-gyp rebuild
prebuild-install WARN install No prebuilt binaries found (target=3.1.10 runtime=node arch=x64 libc= platform=darwin)
sh: npx: command not found
npm WARN enoent ENOENT: no such file or directory, open '/private/var/folders/yn/l09rsn154v773c4pnvd58f_r0000gn/T/apm-install-dir-119107-76548-xd46ok.cewl9/package.json'
npm WARN apm-install-dir-119107-76548-xd46ok.cewl9 No description
npm WARN apm-install-dir-119107-76548-xd46ok.cewl9 No repository field.
npm WARN apm-install-dir-119107-76548-xd46ok.cewl9 No README data
npm WARN apm-install-dir-119107-76548-xd46ok.cewl9 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.2.1 install: `prebuild-install || npx node-gyp rebuild`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the tree-sitter-agda@1.2.1 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/shhyou/.atom/.apm/_logs/2019-11-07T23_51_33_681Z-debug.log
Googling shows that [https://stackoverflow.com/questions/49894620/npx-command-not-found](`npxis some NPM package). Even after installing
npxmanually, another error about Python binary and
gyp` shows up.
I am using Atom 1.40. I'll see if upgrading to Atom 1.41 resolves the issue.
[Enter steps to reproduce:]
Atom: 1.41.0 x64 Electron: 4.2.7 OS: Mac OS X 10.14.6 Thrown From: language-agda package 1.2.0
Stack Trace
Failed to load a language-agda package grammar
Commands
Non-Core Packages