Vuetify-module: Getting an error after updating to latest

Created on 9 Sep 2019  Â·  7Comments  Â·  Source: nuxt-community/vuetify-module

Module version
@nuxtjs/vuetify@^1.8.0

Describe the bug
I was on version "1.6.3" with no problems.
After doing yarn add @nuxtjs/vuetify and then running yarn dev I see:

Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: expected ";".
  â•·
2 │ @import '~/assets/variables.scss'
  │                                  ^

To Reproduce
Just updated to latest version, because I wanted to update Vuetify to v2.0.15.

Expected behavior
It should not throw errors since it was working ok before updating.
If I rever to the previous version everything is OK.

bug

Most helpful comment

Sounds like regression.
I've read something in the docs that sass-loader was now automatically applying the "indentedSyntax: true" for Sass files but it seems it just not work..

Could you try in nuxt.config

build: {
  loaders: {
    sass: {
      sassOptions: {
        indentedSyntax: true
      }
    }
  }
}

? Thanks !

I am with the same problem, I have implemented this and it works ;)

All 7 comments

Sounds like regression.
I've read something in the docs that sass-loader was now automatically applying the "indentedSyntax: true" for Sass files but it seems it just not work..

Could you try in nuxt.config

build: {
  loaders: {
    sass: {
      sassOptions: {
        indentedSyntax: true
      }
    }
  }
}

? Thanks !

Sounds like regression.
I've read something in the docs that sass-loader was now automatically applying the "indentedSyntax: true" for Sass files but it seems it just not work..

Could you try in nuxt.config

build: {
  loaders: {
    sass: {
      sassOptions: {
        indentedSyntax: true
      }
    }
  }
}

? Thanks !

I am with the same problem, I have implemented this and it works ;)

Okay, my bad then, will release a fix soon

Okay, my bad then, will release a fix soon

Thanks Kevin

Released 1.8.1 1.8.2, sorry for the inconvenience, was a mistake 😬

The process needs to improve. There are too many empty versions

@iamareebjamal Yeah sorry it's cause I was used to use yarn standard-version and then release. But now it needs to be compiled by TypeScript so I created yarn release script which ensure tests and build before release.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

stact picture stact  Â·  3Comments

jaimesemp picture jaimesemp  Â·  6Comments

andyfensham picture andyfensham  Â·  3Comments

1000snowy picture 1000snowy  Â·  3Comments

MartinMuzatko picture MartinMuzatko  Â·  4Comments