10 months ago

npm run dev - Unable to locate dependency

Posted 10 months ago by afletcher

I'm running laravel on homestead, and I'm trying to install a vue dependency via NPM.

npm version 6.7.0

I have successfully installed the module via NPM, however when I try to reference the module in my VUE file upon compiling it I get "module is not found error"

This dependency was not found:

* vuetify-material-dashboard in ./resources/js/app.js

To install it, you can run: npm install --save vuetify-material-dashboard

The module is there, and other modules installed are loaded correctly. (app.js)

import Vue from 'vue';
import VueRouter from 'vue-router';
import routes from './routes';
import VueResource from 'vue-resource';
import { TableComponent, TableColumn } from 'vue-table-component';
import Vuetify from 'vuetify';
import Card from 'vuetify-material-dashboard';

I have removed all node modules and reinstalled, deleted the package.json, ssh into the box environment / performed this all locally but the error still persists.

Please sign in or create an account to participate in this conversation.