panosoft/elm-grove

Install fails

pdamoc opened this issue · 11 comments

npm ERR! code ENOVERSIONS
npm ERR! No valid versions available for @elm-node/core

npm version 5.4.2 on node v8.6.0

This is a known bug in npm version 5.4.2 #18434.

You have 3 options:

  • Use 5.3.0 which comes with node 8.5.0 which I know works
  • Fallback to 5.4.0 which I've read works
  • Try 5.5.0 which may fix this (I believe is the latest version)

upgrading to 5.5.0 fixed the issue.

Awesome news. Thanks for letting us know!

I have the same issue with both npm 5.5.0 and 5.5.1. Logfile attached.

2017-10-30T14_05_53_139Z-debug.log

Hi @steerio,

Ya, turns out npm hasn't got it sorted out yet. We are waiting on this issue in the npm repo to be resolved npm/npm#18434.

Best,
Alex

As a workaround until npm gets patched, I have verified that grove will install under the following versions:

$ npm -v
5.3.0
$ node -v
v8.8.1

Thanks! I can confirm that 5.4.0 works too (nodejs version is 8.8.1).

(That is, goes past this issue, because then it fails installing nodegit, due to something that appears to be a bug in that package.)

I believe the node version above resolves the nodegit build error.

Indeed, 5.3.0 builds everything just fine. Thanks again!

I think it would be a good idea to make a note of this in the README file, currently it lists npm 5.5.x+ as a requirement.

Good idea... Readme changed.

leefr commented

Running the following to get to 5.6.0 seems to really resolve the issue, at least for now:
npm install npm@next -g