nuxt icon indicating copy to clipboard operation
nuxt copied to clipboard

I update Vuetify 2.0 and get error

Open sebaveg opened this issue 5 years ago • 3 comments

npm run dev result console:

To install them, you can run: npm install --save core-js/modules/es6.array.find core-js/modules/es6.array.from core-js/modules/es6.array.iterator core-js/modules/es6.date.to-string core-js/modules/es6.function.name core-js/modules/es6.object.assign core-js/modules/es6.object.keys core-js/modules/es6.object.to-string core-js/modules/es6.promise core-js/modules/es6.regexp.constructor core-js/modules/es6.regexp.match core-js/modules/es6.regexp.replace core-js/modules/es6.regexp.search core-js/modules/es6.regexp.split core-js/modules/es6.regexp.to-string core-js/modules/es6.string.includes core-js/modules/es6.string.iterator core-js/modules/es6.string.repeat core-js/modules/es6.string.starts-with core-js/modules/es6.symbol core-js/modules/es7.array.includes core-js/modules/es7.object.get-own-property-descriptors core-js/modules/es7.promise.finally core-js/modules/es7.symbol.async-iterator core-js/modules/web.dom.iterable
                                                                                                                            friendly-errors 23:45:54
 (repeated 1 times)                                                                                                         friendly-errors 23:45:54
This relative module was not found:                                                                                         friendly-errors 23:45:54
                                                                                                                            friendly-errors 23:45:54
* ../../../src/components/VIcon/VIcon.sass in ./node_modules/vuetify/lib/components/VIcon/VIcon.js

sebaveg avatar Jul 29 '19 03:07 sebaveg

Try downgrading core-js to version 2. https://github.com/nuxt/nuxt.js/issues/5315

nekosaur avatar Jul 29 '19 07:07 nekosaur

I just ran into a similar issue and fixed it by removing these additional packages from the nuxt build process.

// remove from nuxt.config.js
import VuetifyLoaderPlugin from "vuetify-loader/lib/plugin";
import { Ripple } from "vuetify/lib/directives";

https://medium.com/@sabbir.study/adding-vuetify-2-0-in-a-existing-nuxt-js-project-dba8a71f198d

miketierce avatar Aug 05 '19 20:08 miketierce

Ok. I tried downgrading core-js and same error. Then remove the object VuetifyLoaderPlugin. Must be other error. No import yet. Start another project with nuxt/vuetify and resolve problem.

sebaveg avatar Aug 06 '19 00:08 sebaveg