commercetools / sunrise-spa

SUNRISE shop template as a single-page application
https://sunrise-spa.now.sh
Apache License 2.0
51 stars 78 forks source link

yarn install gives error for version 18 of nodejs #294

Closed angrymrt closed 1 year ago

angrymrt commented 1 year ago

When executing: yarn install You get the following error: expected node engine version 12 | 14 | 16 | 17, but got v18.8.0

When you downgrade to nodejs version 17, the installation works.

harm-meijer commented 1 year ago

Vue will often break on minor updates you should use yarn install --frozen-lockfile as per the documentation.

You can try the following:

//restore original yarn.lock
git checkout f7a1b591b05d919cc59f1bbca05adf6095334fe8 yarn.lock
//install according to working minor version
yarn install --frozen-lockfile