Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot find module 'vuetify-loader/lib/plugin'

When I load vuetify via the vue-cli3, I get an error when i do npm run serve, saying there is a missing loader.

Docs etc and searches have come up blank.

This is a fresh project, no code loaded. Just following the instructions from the vuetify site.

Can anyone help?

like image 861
Marc Nealer Avatar asked Nov 15 '18 06:11

Marc Nealer


3 Answers

I had the same problem. This whole thing worked out for me.

  1. vue create your-app
  2. cd your-app
  3. npm i --save-dev --no-optional vuetify-loader vue-cli-plugin sass node-sass sass-loader
  4. npm i
  5. vue add vuetify

I know this looks redundant but it worked.

like image 128
Debu Shinobi Avatar answered Oct 15 '22 08:10

Debu Shinobi


Try to manually install the package:

npm install vuetify-loader -D
like image 35
Charles G Avatar answered Oct 15 '22 08:10

Charles G


you should check the vue-loader plugin path. in my case it is:

vue-loader/dist/plugin
like image 33
Joao Paulo Lacerda Avatar answered Oct 15 '22 08:10

Joao Paulo Lacerda