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

couldn't run node even run atom from terminal #366

Closed
leituo56 opened this issue Mar 31, 2015 · 5 comments
Closed

couldn't run node even run atom from terminal #366

leituo56 opened this issue Mar 31, 2015 · 5 comments

Comments

@leituo56
Copy link

image
I couldn't run node by cmd+I even I start atom from terminal.

I install node by homebrew. Here's my version, location and $PATH variable

node --version
v0.12.1

which node
/usr/local/bin/node

echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/mysql/bin:/opt/X11/bin

Error in js console:

/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:104 Uncaught BufferedProcessError: Failed to spawn command `node`. Make sure `node` is installed and on your PATH

Atom version: 0.188.0

I read prev post, I know I can change run options to specific path, but it's just not that good cause I need to run other kinds of scripts sometimes.

BTW, other language like python works for me. Only nodejs got this problem.

@erran
Copy link
Collaborator

erran commented May 2, 2015

@leituo56 Thanks for the details with this. Can you execute a from atom-script that prints out your PATH?

#/bin/bash

echo $PATH

@erran
Copy link
Collaborator

erran commented May 2, 2015

Also make sure to check out #93 and the work arounds in it, though your issue sounds like you already took your due diligence. 👍

@leituo56
Copy link
Author

leituo56 commented May 2, 2015

Thank you @erran , seems this had been fixed after an update

@leituo56 leituo56 closed this as completed May 2, 2015
@erran
Copy link
Collaborator

erran commented May 2, 2015

@leituo56 Glad to hear that thanks!

@ProVadimir
Copy link

Hello, i have problem with Atom!
help me, please!
photo

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

3 participants