Error after scaffolding a new project with create-quasar #18257
-
|
Hey everyone, i'm having issue with scaffolding a new project using the recommended command The project set up part is actually working without issue, but after process has been done and I ran so i tried to set useFlatConfig (in quasar.config.ts) to false, which gives: and commenting out the eslint object in vitePlugins gives: I'm not running a VM in my Mac so this is really puzzling to me. I'm running my OS: macOS Ventura 13.7.8 (22H730) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
|
Update: It turns out the ESLint-related problem is due to vite-plugin-checker not supporting ESLint v10 yet: fi3ework/vite-plugin-checker#647 The original answer below only answers the other aspect, which is less common for people to have. Hi there. The underlying issue is very highly likely to come from
# sass-embedded 1.97.3 (last working version)
cd /tmp && npm pack sass-embedded-darwin-arm64@1.97.3 && mkdir -p se97 && tar xzf sass-embedded-darwin-arm64-1.97.3.tgz -C se97 && se97/package/dart-sass/src/dart --version
# Dart SDK version: 3.10.7 (stable) (Tue Dec 23 00:01:57 2025 -0800) on "macos_arm64"
# sass-embedded 1.98.0 (broken version)
cd /tmp && npm pack sass-embedded-darwin-arm64@1.98.0 && mkdir -p se98 && tar xzf sass-embedded-darwin-arm64-1.98.0.tgz -C se98 && se98/package/dart-sass/src/dart --version
# Dart SDK version: 3.11.2 (stable) (Tue Mar 10 01:02:11 2026 -0700) on "macos_arm64"
# sass-embedded 1.97.3
otool -l /tmp/se97/package/dart-sass/src/dart | grep -A2 'minos'
# minos 11.0
# sdk 15.1
# sass-embedded 1.98.0
otool -l /tmp/se98/package/dart-sass/src/dart | grep -A2 'minos'
# minos 14.0
# sdk 14.4
So, you can either upgrade macOS if possible, or pin down For npm, add to package.json: {
"overrides": {
"sass-embedded": "1.97.3"
}
}For pnpm, add to package.json: {
"pnpm": {
"overrides": {
"sass-embedded": "1.97.3"
}
}
}For yarn, add to package.json: {
"resolutions": {
"sass-embedded": "1.97.3"
}
}Then remove node_modules and lockfile and reinstall. |
Beta Was this translation helpful? Give feedback.
-
|
The same error. Error's main part is: |
Beta Was this translation helpful? Give feedback.
-
|
I got it to work using yusuf's answer, the VM initialization is indeed comes from sass-embedded, downgrading it works for me. |
Beta Was this translation helpful? Give feedback.
Update:
It turns out the ESLint-related problem is due to vite-plugin-checker not supporting ESLint v10 yet: fi3ework/vite-plugin-checker#647
Pushed a fix for it in create-quasar. It will be included in the next release. You can revert to v9 or disable vite-plugin-checker until vite-plugin-checker supports it.
The original answer below only answers the other aspect, which is less common for people to have.
Hi there. The underlying issue is very highly likely to come from
sass-embedded. I did some research about this. Unfortunately, there is no clear changelog or visible changes anywhere. But I used an LLM to run various commands to verify the actual built dart-sass binaries.