Open kindaro opened 8 months ago
Experiencing the same issue and surprised there has not been any update. It would be amazing, if someone took a look!
hey! Thanks for raising this @kindaro, I'll take a look and try to roll out a fix asap.
The same issue here, it seems that storefront is stuck on 16.13 and <17 node version, it's not possible to use it as I have a higher version of node. Please, we need help here, make Vue storefront compatible with the latest version of node.js/
npx @vue-storefront/cli init ┌ Welcome to Vue Storefront 2 CLI! 💚 │ ◆ 🚀 What's your project name? │ _ ◇ 🚀 What's your project name? │ pwa │ ◇ ⚙️ Choose an integration template: │ Magento 2 │ ◇ 😩 Node.js version is incompatible. Please make sure you use Node.js version >= 16.13 and <17.
I have the version Node.js 20, what to do?
Has any progress been made on this issue? The use of node 16 implies that this repo is going stale or will not be maintained into the future.
Not to meantion an old version of Yarn which no matter what I try it refuses to recognize the yarn version 2. Keeps moaning about
Yarn version is incompatible. Please make sure you use Yarn version >= 1 and <3.
However when checking the version I've switched to version 2 of yarn
yarn -v
# comes back with "2.4.3"
I get the sense they've given up on the CLI and local dev since changing their name and going hard on cloud and enterprise offerings.
I agree, the policies of my company would not even allow to use a version so outdated
Yeah,
I would guess that they are going to make community edition deprecated and move everything to enterprise. I decided to not use this project and instead use medusajs which has worked out great for my team.
Yeah,
I would guess that they are going to make community edition deprecated and move everything to enterprise. I decided to not use this project and instead use medusajs which has worked out great for my team.
I suspect the same
Environment
Reproduction
npx @vue-storefront/cli init
as offered in official documentation.Describe the bug
You can look at the official Node.js release schedule here. As you see, Node.js 16 (Gallium) is not even Maintenance LTS anymore. This has various negative implications: this version may not be available in major distributions, it will not receive critical security updates, and so on.
I am not sure how much of Vue Storefront code base is affected. My journey with it is only at its outset. If it is only
cli
that is affected, then this issue is merely a nuisance, since I shall only need to run it a few times. But to run an outdated version of Node.js in production is irresponsible.It is sad to see that an issue that seems to be related has been opened more than a year ago and even a pull request has been offered, without even a comment from the maintainers. I hate dealing with versioning issues as much as the next software engineer, but something must be done.
Additional context
The issue #6844 seems to be related.
Logs