Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in nuxtjs after upgrade vue plugin #451

Closed
YallaDealz opened this issue Jun 2, 2021 · 2 comments
Closed

error in nuxtjs after upgrade vue plugin #451

YallaDealz opened this issue Jun 2, 2021 · 2 comments

Comments

@YallaDealz
Copy link

after i upgrade today [email protected]
├── [email protected]
├── [email protected]

i got this error when rendering my nuxt app on the server Nuxtjs v2.15.6

ERROR in ./node_modules/vuetify/src/components/VGrid/VGrid.sass (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!./node_modules/postcss-loader/src??ref--6-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--6-oneOf-1-3!./node_modules/vuetify/src/components/VGrid/VGrid.sass)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: @use rules must be written before any other rules.

3 │ @use 'sass:math'
│ ^^^^^^^^^^^^^^^^

node_modules/vuetify/src/components/VGrid/VGrid.sass 3:1 root stylesheet
@ ./node_modules/vuetify/src/components/VGrid/VGrid.sass 4:14-204
@ ./node_modules/vuetify/lib/components/VGrid/VCol.js
@ ./node_modules/vuetify/lib/components/VGrid/index.js
@ ./pages/en/dashboard/subscriptions/_id.vue
@ ./node_modules/.cache/nuxt/router.js
@ ./node_modules/.cache/nuxt/index.js
@ ./node_modules/.cache/nuxt/client.js
@ multi ./node_modules/.cache/nuxt/client.js

@rahulkumarsingh73690
Copy link

#452

@GGG-KILLER
Copy link

If you use yarn, you can use the resolutions section in packages.json to restrict sass to 1.32.13 (as of this post, the version with the ~1.32.13 pin hasn't been pushed to NPM yet):

  "resolutions": {
    "sass": "~1.32.13"
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants