Open fank84518 opened 9 months ago
In SSR mode, you have to add "type": module to package.json
"type": module
package.json
Otherwise, the following error will be reported
Warning: To load ES modules, please set "type": "module" in package.json or use .mjs extension.
@fank84518 did you fix this? Im getting the same issue. Tried adding "type": "module", to the package.json but caused further issues.
"type": "module",
In SSR mode, you have to add
"type": module
topackage.json
Otherwise, the following error will be reported
Warning: To load ES modules, please set "type": "module" in package.json or use .mjs extension.