Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@vue-storefront/cli needs Node.js 16 (Gallium) that is so old it is not even Maintenance LTS anymore. #7014

Open
kindaro opened this issue Jan 9, 2024 · 4 comments

Comments

@kindaro
Copy link

kindaro commented Jan 9, 2024

Environment

  • Operating System: Linux

Reproduction

  1. Make sure your version of Node.js is newer than 16 (Gallium).
  2. Run npx @vue-storefront/cli init as offered in official documentation.
  3. Write any name and select any integration template when prompted.
  4. Observe error.

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

% npx @vue-storefront/cli init
┌  Welcome to Vue Storefront 2 CLI! 💚
│
◇  🚀  What's your project name?
│  Example Project

◇  ⚙️  Choose an integration template:
│  Prestashop

◇  😩 Node.js version is incompatible. Please make sure you use Node.js version >= 16.13 and <17.
@lisaschumann
Copy link

Experiencing the same issue and surprised there has not been any update. It would be amazing, if someone took a look!

@skirianov
Copy link
Contributor

hey! Thanks for raising this @kindaro, I'll take a look and try to roll out a fix asap.

@Kiwifu
Copy link

Kiwifu commented Feb 25, 2024

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/

@Kiwifu
Copy link

Kiwifu commented Apr 20, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants