Could not install from node_modules\mdbvue-admin-pro\mdbvue


Topic: Could not install from "node_modules\mdbvue-admin-pro\mdbvue" as it does not contain a package.json file.

zhora.pro asked 6 years ago

I run

npm install "git+https://oauth2:<token>@ git.mdbootstrap.com/mdb/vue/mdbvue-admin-pro.git" - save

and get an error

npm ERR! code ENOLOCAL
npm ERR! Could not install from "node_modules\mdbvue-admin-pro\mdbvue" as it does not contain a package.json file

If I copy the folder with the code in "node_modules\mdbvue-admin-pro", then after running "npm install" this folder is deleted, but an empty symbolic link to "mdbvue" appears.

How to fix it?


Mikołaj Smoleński staff answered 6 years ago

Hi there,

You can't install MDB Vue Admin as a dependency, because it is an independent application. After downloading admin files, just type npm install or yarn and then npm start or yarn start to launch the app.

Best Regards


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 4.6.0
  • Device: no device dependency
  • Browser: no browser dependency
  • OS: Windows 10
  • Provided sample code: Yes
  • Provided link: No