template icon indicating copy to clipboard operation
template copied to clipboard

Node dependency version fix.

Open aryannarora opened this issue 7 years ago • 6 comments

@bkeepers , Version "^8.0" are all supported. Initial ones requires --harmony flag for rest/spread operator. Source here. However, using "^8.0" throws the same error as present, "8.x" works just fine.

aryannarora avatar Mar 15 '18 15:03 aryannarora

using "^8.0" throws the same error as present

What is the error? Maybe it needs to be ^8.0.0?

zeke avatar Mar 16 '18 17:03 zeke

Hii @zeke. This PR is about the error that Glitch throws i.e Node.js version >=7.7 is required. You have v6.13.1. on specifying node version ^8.0 or ^8.0.0 in package.json. I tried to use other versions like ^8.3.0 or something but it doesn't seem to work. So far, 8.x works fine. :)

aryannarora avatar Mar 16 '18 18:03 aryannarora

@aryannarora sorry, I merged #46 before I saw that this was open. Can you check that it works for you?

bkeepers avatar Mar 17 '18 14:03 bkeepers

@bkeepers No worries. :) I tried to use node: ">=8.3.0" but Glitch gives the same error. 😢 It only works when we specify a more exact version like "8.x" or say "9.x". Anything else gives a Couldn't found node error. 😕

aryannarora avatar Mar 17 '18 14:03 aryannarora

Trying to figure out why Glitch doesn't support all semver-compliant ranges: https://twitter.com/zeke/status/974723218064855040

Twitter
“@_gw can you take a peek at this `engines.node` question? https://t.co/RJBmkCmgbK”

zeke avatar Mar 17 '18 17:03 zeke

@zeke Please tell me if you find the reason. :)

aryannarora avatar Mar 17 '18 18:03 aryannarora