Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Error #47

Open
edlau opened this issue Mar 15, 2017 · 1 comment
Open

Update Error #47

edlau opened this issue Mar 15, 2017 · 1 comment

Comments

@edlau
Copy link

edlau commented Mar 15, 2017

Not entire sure which version it is supported right now or if this support nodenv.

I have: 4.7.2; 6.9.3; 7.7.2 (default) installed via homebrew + nodenv.

using node v6.3.1, npm 2.14.5
node in path version err: Error: Command failed: node --version
/bin/sh: node: command not found
, npm in path version err: Error: Command failed: npm --version
/bin/sh: npm: command not found

loading npm
executing npm install /Users/<me>/Library/Application Support/Brackets/extensions/user brackets-npm-registry
ERROR: {"cause":{"code":"ELIFECYCLE","errno":"ENOENT","syscall":"spawn","file":"sh","pkgid":"[email protected]","stage":"postinstall","script":"node postinstall","pkgname":"spawn-sync"},"isOperational":true,"code":"ELIFECYCLE","errno":"ENOENT","syscall":"spawn","file":"sh","pkgid":"[email protected]","stage":"postinstall","script":"node postinstall","pkgname":"spawn-sync"}
@zaggino
Copy link
Member

zaggino commented Mar 15, 2017

Hi, not sure how to fix this for Homebrew, but Brackets 1.9 (https://github.com/adobe/brackets/releases) includes installing npm dependent extensions directly from Brackets registry, I suggest you try that one. What extension are you trying to install?

Alternatively, you can use the install guide here https://github.com/zaggino/brackets-npm-registry#how-to-install-brackets-npm-registry to install any extension, just replace brackets-npm-registry for whatever you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants