Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

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

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

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+

@patzick patzick closed this as completed Oct 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants