creativetimofficial / ct-vue-material-dashboard-2-pro

Vue Material Dashboard 2 PRO - Premium Dashboard using VueJS 3 and Bootstrap 5
https://demos.creative-tim.com/vue-material-dashboard-2-pro/
2 stars 1 forks source link

[Bug] core-js/modules/es.array.push.js not found when serving #2

Open s5-development opened 1 year ago

s5-development commented 1 year ago

Version

3.0.0

Reproduction link

https://github.com/creativetimofficial/ct-vue-material-dashboard-2-pro

Operating System

Microsoft Windows 11 Pro

Device

Dell XPS 15 7590

Browser & Version

Command Prompt

Steps to reproduce

  1. Install NodeJS LTS latest version from NodeJS Official Page
  2. Go to creative tim website and login into your account
  3. Go to downloads section on creative tim website (be sure to be logged into your account)
  4. Press the download button near Vue Material Dashboard PRO product (this will download onto your computer a zip file)
  5. Unzip the downloaded file to a folder in your computer
  6. Open your terminal
  7. Go to your file project (where you’ve unzipped the product)
  8. Run in terminal yarn install
  9. Downgrade to Node 16.18.1 because NodeJS LTS (18.12.1) is not compatible
  10. Run in terminal yarn install
  11. Then run yarn serve

    What is expected?

    It's expected to successfully serve the application.

    What is actually happening?

    ERROR Failed to compile with 2 errors

This dependency was not found:


Solution

Additional comments

You might want to update the project-dependencies. Version 3.0.0 dependencies currently contains 16 vulnerabilities in quite outdated versions.

maisamaf commented 1 year ago

Hi @s5-development, If you want to continue using Node 18.12.1, please revert your node version, do the following, and let me know if everything works fine.

  1. Delete the node_modules and package-lock.json
  2. Run npm i --legacy-peer-deps
  3. Run set NODE_OPTIONS=--openssl-legacy-provider
  4. npm run serve

Regards, Maisam Afshar

s5-development commented 1 year ago

Hi @maisamaf,

Thank you for your reply.

I don't specifically want to continue using Node 18.12.1. I want the project to serve without errors when using your Quick Start guide on how to serve for local development, so I'm requesting you to update the project or documentation accordingly.

I suppose updating the project is the best way to go, since the included dependencies contain some very outdated versions with major vulnerabilities.

Kind regards, Team Development / S5 MERKwaardige Specialisten

maisamaf commented 1 year ago

We will definitely update the project to resolve the concerned issues.

Thank you for your feedback.

Best Regards, Maisam