vuestorefront/vue-storefront

[Bug]: @vue-storefront/nuxt@2.7.2 incompatible with Node 18

joncasdam opened this issue · 1 comments

Describe the Bug

EOL of Node 16 is set to Sep 2023, so we are updating our servers. It turns out this is the error we get when using node 18

error @vue-storefront/nuxt@2.7.2: The engine "node" is incompatible with this module. Expected version ">=14 <=16". Got "18.12.1"

Current behavior

Install fails when on node 18

Expected behavior

Install to succeed.

Steps to reproduce

using node 18 :
yarn install

What version of Vue Storefront are you using?

2.7.2

What version of Node.js are you using?

18.2.1

What browser (and version) are you using?

What operating system (and version) are you using?

macOS and Docker

Relevant log output

this

------
 > [7/7] RUN yarn install --non-interactive     && yarn build --non-interactive     && yarn global add pm2     && yarn cache clean --all     && rm -rf /var/cache/apk/*     && rm -rf /usr/local/share/.cache/yarn/*:
#11 0.511 yarn install v1.22.19
#11 0.867 [1/5] Validating package.json...
#11 0.892 [2/5] Resolving packages...
#11 3.349 [3/5] Fetching packages...
#11 104.2 error @vue-storefront/nuxt@2.7.2: The engine "node" is incompatible with this module. Expected version ">=14 <=16". Got "18.12.1"
#11 104.2 error Found incompatible module.
#11 104.2 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
------


### Able to fix / change the documentation?

- [X] Yes
- [ ] No

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

folks, any feedback on this?