Topic: Adding vue mdb to an existing project/folder is throwing errors
harshmairh asked 3 years ago
Expected behavior
I am trying to install mdb-vue to an existing project. I installed mdb-cli first, login using the "mdb login" command, and then to add it to my existing project I am running this command "vue add mdb' but I get an error when I run this command. The error message is as follows:
npm ERR! code ETARGET npm ERR! notarget No matching version found for mdbvue@1.12.0. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist. npm ERR! A complete log of this run can be found in:
Resources (screenshots, code snippets etc.)
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Free
- Premium support: No
- Technology: MDB Vue
- MDB Version: MDB5 1.12.0
- Device: Laptop
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No
Mikołaj Smoleński staff commented 3 years ago
Most probably you want to install the latest MDB5 Vue UI KIT, but use cli plugin for v4. Please try typing
vue add mdb5
instead ofvue add mdb
.Keep coding, Mikołaj from MDB
harshmairh commented 3 years ago
That worked, thank you!!