AtomLinter / linter-spell

Multilingual grammar-specific spell checking for Atom and linter using Ispell compatible interface such as GNU Aspell or Hunspell.
https://atom.io/packages/linter-spell
MIT License
14 stars 1 forks source link

Error 404 while trying to install linter-spell dependencies #44

Closed audreytoskin closed 7 years ago

audreytoskin commented 7 years ago

When I launch Atom with linter-spell enabled, I see a balloon saying it's trying to install some dependencies, then then this message:

Failed to install linter-spell dependencies These packages were not installed, check your console for more info. • intentions

From the console:

[Package-Deps] Unable to install intentions , Error: gyp info it worked if it ends with ok
gyp info using node-gyp@3.2.1
gyp info using node@6.9.5 | linux | x64
gyp http GET https://atom.io/download/atom-shell/v5.10.0/node-v5.10.0-headers.tar.gz
gyp http 404 https://atom.io/download/atom-shell/v5.10.0/node-v5.10.0-headers.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! install error 
gyp ERR! stack Error: 404 response downloading https://atom.io/download/atom-shell/v5.10.0/node-v5.10.0-headers.tar.gz
gyp ERR! stack     at Request.<anonymous> (/usr/lib/node_modules/node-gyp/lib/install.js:244:14)
gyp ERR! stack     at emitOne (events.js:101:20)
gyp ERR! stack     at Request.emit (events.js:188:7)
gyp ERR! stack     at Request.onRequestResponse (/usr/lib/node_modules/request/request.js:951:10)
gyp ERR! stack     at emitOne (events.js:96:13)
gyp ERR! stack     at ClientRequest.emit (events.js:188:7)
gyp ERR! stack     at HTTPParser.parserOnIncomingClient (_http_client.js:474:21)
gyp ERR! stack     at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23)
gyp ERR! stack     at TLSSocket.socketOnData (_http_client.js:363:20)
gyp ERR! stack     at emitOne (events.js:96:13)
gyp ERR! System Linux 4.9.13-200.fc25.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "install" "--runtime=electron" "--target=5.10.0" "--dist-url=https://atom.io/download/atom-shell" "--arch=x64" "--ensure"
gyp ERR! cwd /home/terrycloth/.atom
gyp ERR! node -v v6.9.5
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
yitzchak commented 7 years ago

Try doing a manual install of the intentions package.

audreytoskin commented 7 years ago

apm install intentions does seem to fix the issue. Was it a problem in linter-spell's installation script, or was I having some kind of network issue?

yitzchak commented 7 years ago

It was probably a network problem. The dependency install is a little fragile, though.

Glad you got it working!

almereyda commented 7 years ago

This error seems to be documented in

with a workaround being to set the ATOM_NODE_URL=https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist environment variable.

Please follow the links about details.