You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When i run quasar dev -m ssr i get the following error on the browser
Must use import to load ES Module: /Users/mauroconte/Desktop/org-noflags/noflags-quasar/node_modules/@quasar/quasar-ui-qmediaplayer/dist/index.cjs.js require() of ES modules is not supported. require() of /Users/mauroconte/Desktop/org-noflags/noflags-quasar/node_modules/@quasar/quasar-ui-qmediaplayer/dist/index.cjs.js from /Users/mauroconte/Desktop/org-noflags/noflags-quasar is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules. Instead rename index.cjs.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /Users/mauroconte/Desktop/org-noflags/noflags-quasar/node_modules/@quasar/quasar-ui-qmediaplayer/package.json.
To Reproduce
Steps to reproduce the behavior:
yarn create quasar (I created a basic project named quasar-project)
i get the error reported above in the browser and in the console
Expected behavior
it should work without errors
Desktop (please complete the following information):
OS: MacBookProM1
Browser Chrome
Version Versione 99.0.4844.83 (Build ufficiale) (arm64)
Additional context
I red the error and it is about 'type="module"'. In my package json i don't have that. I tried to remove from the package json of quasar-ui-qmediaplayer inside node_modules folder and it seems to work but i can't do like.
The text was updated successfully, but these errors were encountered:
No, i don't kwnow what is app-vite but i'm not using it.
As explained i'm trying with a empty quasar project, nothing added except quasar-ui-qmediaplayer
Describe the bug
When i run
quasar dev -m ssr
i get the following error on the browserTo Reproduce
Steps to reproduce the behavior:
Expected behavior
it should work without errors
Desktop (please complete the following information):
Additional context
I red the error and it is about 'type="module"'. In my package json i don't have that. I tried to remove from the package json of quasar-ui-qmediaplayer inside node_modules folder and it seems to work but i can't do like.
The text was updated successfully, but these errors were encountered: