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
I'm getting a similar error with SvelteKit, but on the other side:
Unexpected token 'export'
/Users/nick/Projects/project/node_modules/svelte-mapbox-gl/src/index.js:1
export { default as Map } from "./Map.svelte"
^^^^^^
SyntaxError: Unexpected token 'export'
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1153:20)
at Module._compile (node:internal/modules/cjs/loader:1197:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1287:10)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at Module._load (node:internal/modules/cjs/loader:938:12)
at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:165:29)
at ModuleJob.run (node:internal/modules/esm/module_job:192:25)
at async DefaultModuleLoader.import (node:internal/modules/esm/loader:228:24)
at async nodeImport (file:///Users/nick/Projects/project/node_modules/vite/dist/node/chunks/dep-68d1
Hi!
I'm trying to use the component in sveltekit but I have an error 500 "Importing binding name 'Map' is not found".
Do you have an idea what's going on?
Thanks for your work!
The text was updated successfully, but these errors were encountered: