gossi / ember-cli-create

CLI wizard to create a new ember project
MIT License
64 stars 5 forks source link

Node 9? #2

Open karellm opened 6 years ago

karellm commented 6 years ago

I wanted to give this a go and couldn't on Node 9 because it is not listed as an engine: https://github.com/gossi/ember-cli-create/blob/master/package.json#L34

Here is the output:

yarn global v1.9.2
warning package.json: No license field
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
error ember-cli-create@0.0.1: The engine "node" is incompatible with this module. Expected version "6.* || 8.* || >= 10.*".
error Found incompatible module

Is there a reason for that?

karellm commented 6 years ago

This actually made me realize that my system node is out of date, node 9 as reached its end-of-life last June. I guess that answers my question.

karellm commented 6 years ago

I've moved back to the LTS 8.* for my system and it works. That said, I tried Node 10 and it didn't install:

yarn global v1.9.2
warning package.json: No license field
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 0/2043(node:87804) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
error upath@1.0.4: The engine "node" is incompatible with this module. Expected version ">=4 <=9".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
gossi commented 6 years ago

that's weird, I'm running node 10 on my machine and hey it works. Probably need to adjust in package.json