Skip to content

Compilation error when upgrading to Quasar 2.18.5 from 2.17.7 #18135

@mattwright

Description

@mattwright

What happened?

I have a working quasar app that was on v2.17.7. I ran quasar upgrade -i to move to v2.18.5:

@quasar/extras: 1.16.16 → 1.17.0
quasar: 2.17.7 → 2.18.5

and got this error when I ran quasar dev:

App • ERROR • UI in ./node_modules/quasar/dist/quasar.sass

Syntax Error: expected selector.

2497 │ &:has(+ :is(.q-field__native, .q-field__input):is(
│ ^

../../../quasar/dist/quasar.sass 2497:55 root stylesheet

App • COMPILATION FAILED • Please check the log above for details.

Details:

Dev mode.................. spa
Pkg quasar................ v2.18.5
Pkg @quasar/app-webpack... v3.15.1
Pkg webpack............... v5
Debugging................. enabled

What did you expect to happen?

I didn't see any breaking changes in the changelog from 2.17.7 to 2.18.5, so I assumed I could run quasar upgrade and have it continue to work without any other changes.

Reproduction URL

N/A

How to reproduce?

I'm not sure if this is specific to my project or not...

Flavour

Quasar CLI with Webpack (@quasar/cli | @quasar/app-webpack)

Areas

Style & Identity (quasar)

Platforms/Browsers

Other

Quasar info output

Operating System - Linux(6.14.0-1012-aws) - linux/x64
NodeJs - 22.19.0

Global packages
  NPM - 10.9.3
  yarn - 1.22.22
  @quasar/cli - 2.5.0
  @quasar/icongenie - Not installed
  cordova - Not installed

Important local packages
  quasar - 2.18.5 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
  @quasar/app-webpack - 3.15.1 -- Quasar Framework App CLI with Webpack
  @quasar/extras - 1.17.0 -- Quasar Framework fonts, icons and animations
  eslint-plugin-quasar - Not installed
  vue - 3.5.12 -- The progressive JavaScript framework for building modern web UI.
  vue-router - 4.4.5
  pinia - Not installed
  vuex - 4.1.0 -- state management for Vue.js
  electron - Not installed
  electron-packager - Not installed
  @electron/packager - Not installed
  electron-builder - Not installed
  @babel/core - 7.26.0 -- Babel compiler core.
  webpack - 5.96.1 -- Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
  webpack-dev-server - 4.11.1 -- Serves a webpack app. Updates the browser on changes.
  workbox-webpack-plugin - Not installed
  register-service-worker - 1.7.2 -- Script for registering service worker, with hooks
  typescript - 4.9.4 -- TypeScript is a language for application scale JavaScript development
  @capacitor/core - Not installed
  @capacitor/cli - Not installed
  @capacitor/android - Not installed
  @capacitor/ios - Not installed

Relevant log output

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions