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

Node.js 18 / Nuxt 2.16.x support #1989

Open
mkucmus opened this issue Apr 17, 2023 Discussed in #1988 · 1 comment
Open

Node.js 18 / Nuxt 2.16.x support #1989

mkucmus opened this issue Apr 17, 2023 Discussed in #1988 · 1 comment

Comments

@mkucmus
Copy link
Collaborator

mkucmus commented Apr 17, 2023

Discussed in #1988

Originally posted by bitfactory-frank-spee April 17, 2023
Is there any update on Node.js 18 support? And thus a Nuxt 2.16.x update (which is needed for that)?

I see there is still no update on a release (candi)date of Shopware Frontends (which was promised Q1 2023). So for now I think we are stuck with Shopware PWA to build a production version of a shopware headless shop.

Has anyone already tried (and hopefully succeeded) to update the current Shopware PWA version to Nuxt 2.16 / Node.js 18?

@bitfactory-frank-spee
Copy link

For Node.js 18 support you need to use Nuxt 2.16.2 or higher, https://github.com/nuxt/nuxt/releases/tag/v2.16.2, e.g.:

The main change in this patch release is that we now patch the crypto node built-in during build to allow Nuxt 2 to be used on Node versions greater than Node 16, which should ease the pressure users feel after Node 16 reaches its own EOL this year.

But it also means you get the breaking changes from 2.16.0, https://github.com/nuxt/nuxt/releases/tag/v2.16.0, e.g.:

Node.js v14+
Vue v2.7+
postcss v8+
core-js v3+

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

2 participants