vuetifyjs / nuxt

Nuxt.js + Vuetify.js starter project template.
MIT License
306 stars 109 forks source link

I update Vuetify 2.0 and get error #91

Open sebaveg opened 5 years ago

sebaveg commented 5 years ago

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
nekosaur commented 5 years ago

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

miketierce commented 5 years ago

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

sebaveg commented 5 years ago

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.