Closed yoyosan closed 1 year ago
I've also opened an issue with Filestack and they said,
I can confirm to you that Filestack does not currently support Quasar. I will be raising a feature request for consideration by the product team.
Filestack should only make sure that it runs with Vite. Nothing in particular with Quasar for supporting it.
Seems like Vite 4 has solved this issue, so temporarily (until the Quasar CLI gets released with Vite 4), add this to your /package.json
(and use Yarn v1):
"resolutions": {
"vite": "^4.0.0",
"@vitejs/plugin-vue": "^4.0.0"
}
What happened?
Initializing the Filestack library throws the following error,
filestack-js.js?v=4a9cfdec:13 Uncaught TypeError: Class extends value undefined is not a constructor or null
What did you expect to happen?
No error should be thrown. I've tried the same piece of code in new Vite with Vue3 and Nuxt 3 projects and there's no error thrown.
Reproduction URL
https://stackblitz.com/edit/quasarframework-r2qn2u?file=src%2FApp.vue
How to reproduce?
Just open the Dev Toolbar and you'll see the error immediately.
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Components (quasar), Project Creation (create-quasar), TypeScript Support
Platforms/Browsers
Firefox, Chrome
Quasar info output
Relevant log output
Additional context
No response