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

Installation on Windows without Node.js #616

Closed
akashpb opened this issue Oct 22, 2015 · 8 comments
Closed

Installation on Windows without Node.js #616

akashpb opened this issue Oct 22, 2015 · 8 comments
Assignees
Labels
Milestone

Comments

@akashpb
Copy link

akashpb commented Oct 22, 2015

I'm unable to install the package.
This message is being displayed:

Installing “atom-beautify@0.28.14” failed.Hide output…

spawn-sync@1.0.13 postinstall C:\Users\AKASH_~1\AppData\Local\Temp\apm-install-dir-115922-2412-1wx0rj0\node_modules\atom-beautify\node_modules\cross-spawn\node_modules\spawn-sync
node postinstall

'node' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\Users\akash_000\AppData\Local\atom\app-1.0.19\resources\app\apm\bin\node.exe" "C:\Users\akash_000\AppData\Local\atom\app-1.0.19\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\akash_000.atom.apm.apmrc" "--userconfig" "C:\Users\akash_000.atom.apmrc" "install" "C:\Users\AKASH_~1\AppData\Local\Temp\d-115922-2412-1uns2x5\package.tgz" "--target=0.30.7" "--arch=ia32"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! spawn-sync@1.0.13 postinstall: node postinstall
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the spawn-sync@1.0.13 postinstall script 'node postinstall'.
npm ERR! This is most likely a problem with the spawn-sync package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node postinstall
npm ERR! You can get their info via:
npm ERR! npm owner ls spawn-sync
npm ERR! There is likely additional logging output above.

@prettydiff
Copy link
Collaborator

Do you know if node is installed on your computer?

@akashpb
Copy link
Author

akashpb commented Oct 23, 2015

I'm not sure. How can I install it?

Sent from my OnePlus One.

On Oct 22, 2015 8:08 PM, Austin Cheney notifications@github.com wrote:

Do you know if node is installed on your computer?


Reply to this email directly or view it on GitHub.

@prettydiff
Copy link
Collaborator

I had node installed before I installed Atom in all my environments so I cannot say if its included or a prerequisite. @Glavin001 would be better able to answer that.

Try to install Node and let me know if you are still having problems: https://nodejs.org/en/

@Glavin001 Glavin001 changed the title Installation Installation on Windows Oct 23, 2015
@Glavin001
Copy link
Owner

Looks like Node.js is not installed.

spawn-sync will be using your global node.js installation instead of Atom's. That may be room for improvement actually...

@akashpb
Copy link
Author

akashpb commented Oct 24, 2015

How do I install it?

Sent from my OnePlus One.

On Oct 24, 2015 3:13 AM, Glavin Wiechert notifications@github.com wrote:

Looks like Node.js is not installed.

spawn-sync will be using your global node.js installation instead of Atom's. That may be room for improvement actually...


Reply to this email directly or view it on GitHub.

@Glavin001
Copy link
Owner

As @prettydiff indicated:

Try to install Node and let me know if you are still having problems: https://nodejs.org/en/

Specifically, you can go to https://nodejs.org/en/download/ and get the appropriate Windows installer, download, run it, profit.

@Glavin001 Glavin001 changed the title Installation on Windows Installation on Windows without Node.js Oct 24, 2015
@Glavin001 Glavin001 added this to the v0.29.0 milestone Oct 24, 2015
@Glavin001 Glavin001 self-assigned this Oct 24, 2015
@Glavin001
Copy link
Owner

I am going to close this issue. @akashpb let us know if that does not work out for you.

@Glavin001
Copy link
Owner

cross-spawn has since been removed so this will no longer happen See #955

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

No branches or pull requests

3 participants