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

Nuxt RC 12 is not compatible with Node.js 19 #15196

Closed
Suniron opened this issue Oct 19, 2022 · 3 comments
Closed

Nuxt RC 12 is not compatible with Node.js 19 #15196

Suniron opened this issue Oct 19, 2022 · 3 comments

Comments

@Suniron
Copy link

Suniron commented Oct 19, 2022

Environment

In Gitlab Runner which use the latest image of node (version 19.0.0)

Reproduction

Start nuxt 3 project in a Dockerfile with latest node version (image tag node)

Describe the bug

Nuxt RC 12 is not compatible with the latest Node.js version 19.

Additional context

No response

Logs

$ yarn install --cache-folder .yarn
yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
error nuxt@3.0.0-rc.10: The engine "node" is incompatible with this module. Expected version "^14.16.0 || ^16.11.0 || ^17.0.0 || ^18.0.0". Got "19.0.0"
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
error Found incompatible module.
Cleaning up project directory and file based variables
00:02
ERROR: Job failed: exit code 1
@Suniron
Copy link
Author

Suniron commented Oct 19, 2022

In the emergency, you can fix it by using this image instead node:18 or node:18-alpine

@IsraelOrtuno
Copy link
Contributor

This PR should fix it nuxt/framework#8299

@Suniron
Copy link
Author

Suniron commented Oct 19, 2022

I close my issue

@Suniron Suniron closed this as completed Oct 19, 2022
@danielroe danielroe changed the title Nuxt RC 12 is not compatible with Node.js 12 Nuxt RC 12 is not compatible with Node.js 19 Oct 19, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
@danielroe danielroe transferred this issue from nuxt/framework Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants