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

@quasar/app-webpack is not supporting Node.js v14 #15781

Closed
freddy38510 opened this issue May 2, 2023 · 0 comments
Closed

@quasar/app-webpack is not supporting Node.js v14 #15781

freddy38510 opened this issue May 2, 2023 · 0 comments
Labels
area/cli bug/1-hard-to-reproduce A reproduction is available, but it's hard to reproduce, so it has a lower priority. bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/quasar-cli-webpack kind/bug 🐞 Qv2 🔝 Quasar v2 issues

Comments

@freddy38510
Copy link
Contributor

What happened?

When installing the deps with the yarn install command, I've got this error:

[freddy@freddypc quasar]$ yarn
yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
error babel-plugin-module-resolver@5.0.0: The engine "node" is incompatible with this module. Expected version ">= 16". Got "14.19.3"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

The package babel-plugin-module-resolver seems to be a dep of @quasar/babel-preset-app:

[freddy@freddypc quasar]$ yarn why babel-plugin-module-resolver
yarn why v1.22.19
[1/4] Why do we have the module "babel-plugin-module-resolver"...?
[2/4] Initialising dependency graph...
[3/4] Finding dependency...
[4/4] Calculating file sizes...
=> Found "babel-plugin-module-resolver@5.0.0"
info Reasons this module exists
   - "@quasar#app-webpack#@quasar#babel-preset-app" depends on it
   - Hoisted from "@quasar#app-webpack#@quasar#babel-preset-app#babel-plugin-module-resolver"
Done in 0.67s.

The Node.js v14 support seems to be removed from babel-plugin-module-resolver v5.0.0.

What did you expect to happen?

Find an alternative to the babel-plugin-module-resolver package (Older versions than 5.0.0 seems to have json5 vulnerabilities) or simply remove Node.js v14 support.

Reproduction URL

https://codesandbox.io/p/sandbox/gifted-matan-wh1oy4

How to reproduce?

  • Use node.js v14
  • Create a new quasar project choosing Quasar CLI with Webpack.

Flavour

Quasar CLI with Webpack (@quasar/cli | @quasar/app-webpack)

Areas

Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app-webpack | @quasar/app-vite)

Platforms/Browsers

Other

Quasar info output

Operating System        Linux(6.2.13-arch1-1) - linux/x64
NodeJs                  14.19.3

Global packages    
  NPM                   6.14.17
  yarn                  1.22.19
  @quasar/cli           2.0.0
  @quasar/icongenie     Not installed
  cordova               Not installed

Relevant log output

No response

Additional context

No response

@github-actions github-actions bot added area/cli bug/1-hard-to-reproduce A reproduction is available, but it's hard to reproduce, so it has a lower priority. bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/quasar-cli-webpack labels May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli bug/1-hard-to-reproduce A reproduction is available, but it's hard to reproduce, so it has a lower priority. bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/quasar-cli-webpack kind/bug 🐞 Qv2 🔝 Quasar v2 issues
Projects
None yet
Development

No branches or pull requests

2 participants