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

Building quiz app resolves in errors #398

Open
stnieder opened this issue Nov 29, 2024 · 0 comments
Open

Building quiz app resolves in errors #398

stnieder opened this issue Nov 29, 2024 · 0 comments

Comments

@stnieder
Copy link

I was trying to build the quiz app locally on my laptop. For that I have cloned the github repo, opened in powershell the directory etc/quiz-app. After trying npm install, but after running that command I receive the following error code.

npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '@achrinza/[email protected]',
npm warn EBADENGINE   required: {
npm warn EBADENGINE     node: '8 || 9 || 10 || 11 || 12 || 13 || 14 || 15 || 16 || 17 || 18 || 19 || 20'
npm warn EBADENGINE   },
npm warn EBADENGINE   current: { node: 'v22.11.0', npm: '10.9.1' }
npm warn EBADENGINE }

up to date, audited 1503 packages in 3s

157 packages are looking for funding
  run `npm fund` for details

32 vulnerabilities (21 moderate, 11 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.

I can run npm audit fix --force all I want, but It does nothing for me. So I ran npm run serve, I get the following error:

> [email protected] serve
> vue-cli-service serve

 ERROR  TypeError: transpileDependencies.map is not a function
TypeError: transpileDependencies.map is not a function
    at genTranspileDepRegex (C:\Users\username\Documents\AI Journey\AI-For-Beginners\etc\quiz-app\node_modules\@vue\cli-plugin-babel\index.js:5:38)        
    at module.exports (C:\Users\username\Documents\AI Journey\AI-For-Beginners\etc\quiz-app\node_modules\@vue\cli-plugin-babel\index.js:21:29)
    at C:\Users\username\Documents\AI Journey\AI-For-Beginners\etc\quiz-app\node_modules\@vue\cli-service\lib\Service.js:82:9
    at Array.forEach (<anonymous>)
    at loadedCallback (C:\Users\username\Documents\AI Journey\AI-For-Beginners\etc\quiz-app\node_modules\@vue\cli-service\lib\Service.js:80:20)
    at Service.init (C:\Users\username\Documents\AI Journey\AI-For-Beginners\etc\quiz-app\node_modules\@vue\cli-service\lib\Service.js:97:14)
    at Service.run (C:\Users\username\Documents\AI Journey\AI-For-Beginners\etc\quiz-app\node_modules\@vue\cli-service\lib\Service.js:247:16)
    at Object.<anonymous> (C:\Users\username\Documents\AI Journey\AI-For-Beginners\etc\quiz-app\node_modules\@vue\cli-service\bin\vue-cli-service.js:37:9) 
    at Module._compile (node:internal/modules/cjs/loader:1546:14)
    at Object..js (node:internal/modules/cjs/loader:1689:10)

How can i resolve this?

@stnieder stnieder changed the title npm audit fix --foce - Not fixing packages for quiz app Building quiz app resolves in errors Nov 29, 2024
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

1 participant