-
Notifications
You must be signed in to change notification settings - Fork 335
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
Hydrogen will not install from command line or from within Atom #1431
Comments
I am also unable to install Hydrogen under Windows 10 and Atom 1.31.1. If you look at line 98, there are some complains on the Python version not being <3.0. Can this explain the failure? |
@JackCaster there is definitely an issue with node gyp if it doesn't find python 2. See this issue. |
mmm... it seems the issue you linked to is still unresolved. I am not sure on what I should do next to install Hydrogen. Any suggestions? |
This had worked for me on a similar issue previously: |
As suggested, I tried what is described in atom/apm#179 (comment). I created a Conda environment with Python 2.7 and set the path in apm
In the
and in
I also installed node 8.12 which is available in the path.
I see it complains about:
which is weird, as
|
When installing Hydrogen, I get the following error:
Shall I upload the log file as well? |
Stale issue relating to installation, which is generally handled by apm and not hydrogen |
Description:
Hydrogen fails to install either from the command line or from the install console within Atom.
Steps to Reproduce:
From command line (for either default Microsoft terminal or my Anaconda Prompt):
Within Atom, via the install console, clicking install generates a brief download followed by a log being added to the .atom.apm_logs folder in my home directory.
Versions:
Which OS and which version of Hydrogen and Atom are you running?
OS: Windows 10
Atom: 1.31.0
Electron: 2.0.7
Chrome: 61.0.3163.100
Node: 8.9.3
Attempting to install Hydorgen 2.6.0
2018-09-27T20_18_23_592Z-debug.log
2018-09-27T19_05_17_249Z-debug.log
Logs:
The command prompt error looks as follows:
Installing hydrogen to C:\Users\pattersonrb.atom\packages failed
npm ERR! Unexpected end of JSON input while parsing near '...ame":"acorn","version'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\pattersonrb.atom.apm_logs\2018-09-27T19_20_13_437Z-debug.log
Additionally, I've attached one the log reports as a text document. This file is the same regardless of whether I attempt the install via Atom or the command line.
2018-09-27T19_05_17_249Z-debug.log
Have installed a number of other packages successfully without issue.
The text was updated successfully, but these errors were encountered: