ember-cli-create icon indicating copy to clipboard operation
ember-cli-create copied to clipboard

Node 9?

Open karellm opened this issue 7 years ago • 3 comments

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 [email protected]: The engine "node" is incompatible with this module. Expected version "6.* || 8.* || >= 10.*".
error Found incompatible module

Is there a reason for that?

karellm avatar Aug 19 '18 23:08 karellm

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 avatar Aug 19 '18 23:08 karellm

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 [email protected]: 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.

karellm avatar Aug 19 '18 23:08 karellm

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

gossi avatar Aug 20 '18 08:08 gossi