Dabolus / polymer3-webpack-starter-kit

Polymer 3 Starter Kit with Webpack
MIT License
55 stars 6 forks source link

Compatibility with Node.js 10.x #69

Closed izogfif closed 6 years ago

izogfif commented 6 years ago

When running yarn install on node.js version 10.0.0 I get an error:

error upath@1.0.4: The engine "node" is incompatible with this module. Expected version ">=4 <=9".

The issue was fixed in upath version 1.0.5. Full command line output:

$ yarn install
yarn install v1.6.0
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
success Saved lockfile.
$ yarn --cwd ./src install && yarn --cwd ./conf install
yarn install v1.6.0
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
Done in 0.37s.
yarn install v1.6.0
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
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/install for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
logicalphase commented 6 years ago

Try this: yarn --ignore-engines install

I believe this is probably a need to upgrade upath.

On Wed, May 2, 2018, 4:47 PM Pavel notifications@github.com wrote:

When running yarn install on node.js version 10.0.0 I get an error:

error upath@1.0.4: The engine "node" is incompatible with this module. Expected version ">=4 <=9".

The issue was fixed in upath version 1.0.5. Full command line output:

$ yarn install yarn install v1.6.0 [1/5] Validating package.json... [2/5] Resolving packages... [3/5] Fetching packages... [4/5] Linking dependencies... [5/5] Building fresh packages... success Saved lockfile. $ yarn --cwd ./src install && yarn --cwd ./conf install yarn install v1.6.0 [1/5] Validating package.json... [2/5] Resolving packages... [3/5] Fetching packages... [4/5] Linking dependencies... [5/5] Building fresh packages... Done in 0.37s. yarn install v1.6.0 [1/5] Validating package.json... [2/5] Resolving packages... [3/5] Fetching packages... 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/install for documentation about this command. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Dabolus/polymer3-webpack-starter-kit/issues/69, or mute the thread https://github.com/notifications/unsubscribe-auth/AYC27SAucSIpfPl3MKymQpeXiSjzamQHks5tuilmgaJpZM4TwNfF .

Dabolus commented 6 years ago

Updating the dependencies and regenerating the lockfiles (#71) seems to have fixed the issue. I wasn't able to update the Polymer Elements to their latest prerelease, though. Seems like something is broken. For now, I will stay with the prerelease 12