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
Not able to use this package with a vite SSR environment. The project is type of module.
1:24:12 PM [vite] Error when evaluating SSR module /src/*.vue: failed to import "vue-socials"
|- /node_modules/vue-socials/dist/esm/vue-socials-esm.js:1
import * as index from './components/index.js';
^^^^^^
SyntaxError: Cannot use import statement outside a module
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1178:20)
at Module._compile (node:internal/modules/cjs/loader:1220:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at ModuleWrap. (node:internal/modules/esm/translators:169:29)
at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
The text was updated successfully, but these errors were encountered:
Not able to use this package with a vite SSR environment. The project is type of
module
.1:24:12 PM [vite] Error when evaluating SSR module /src/*.vue: failed to import "vue-socials"
|- /node_modules/vue-socials/dist/esm/vue-socials-esm.js:1
import * as index from './components/index.js';
^^^^^^
SyntaxError: Cannot use import statement outside a module
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1178:20)
at Module._compile (node:internal/modules/cjs/loader:1220:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at ModuleWrap. (node:internal/modules/esm/translators:169:29)
at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
The text was updated successfully, but these errors were encountered: