Topic: failed to install vue pro version

Rachamim free asked 5 years ago


hi, I'm having installation difficulties In the PRO version first when when i try to add the mdb by the command

vue add mdb i get
WARN There are uncommited changes in the current repository, it's recommended to commit or stash them first. ? Still proceed? Yes
and after i set the token on pro version i get the message : ✔ Successfully invoked generator for plugin: vue-cli-plugin-mdb (node:8064) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, scandir 'C:\Samples\VueJs\Test\my-app\node_modules\mdbvue' (node:8064) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:8064) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. The following files have been updated / added:

at last i get the message : DONE mdb MDB is ready for coding!

and when runnig the project by : npm run serve i get the error : ERROR Failed to compile with 5 errors 9:51:07 These dependencies were not found:

  • @fortawesome/fontawesome-free/css/all.min.css in ./src/main.js
  • bootstrap-css-only/css/bootstrap.min.css in ./src/main.js
  • mdbvue in ./src/main.js
  • mdbvue/lib/components/Notify in ./src/main.js
  • mdbvue/lib/css/mdb.min.css in ./src/main.js

To install them, you can run: npm install --save @fortawesome/fontawesome-free/css/all.min.css bootstrap-css-only/css/bootstrap.min.css mdbvue mdbvue/lib/components/Notify mdbvue/lib/css/mdb.min.css

Thanks for the help


Magdalena Dembna staff commented 5 years ago

The console should've asked if you would like to install Fa - the rest should be done automatically. It looks like dependency wasn't installed. Open node modules and look for mdbvue. Is this folder there? If not check your package.json for mdbvue dependency. If it's there, run npm i one more time. If not, ensure that your internet connection works fine add try vue add mdb one more time.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 6.1.0
  • Device: vscode
  • Browser: chrome
  • OS: windows 10
  • Provided sample code: No
  • Provided link: No