Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

svelte kit complains at run time #7

Open
jmsunseri opened this issue Dec 15, 2021 · 5 comments
Open

svelte kit complains at run time #7

jmsunseri opened this issue Dec 15, 2021 · 5 comments

Comments

@jmsunseri
Copy link

All I'm doing is

import { DeviceFloppy, CircleX } from 'tabler-icons-svelte';

not even using the icons in the template it complains then crashes the app when i visit a page where i import

in browser

500
Failed to fetch dynamically imported module: http://localhost:3000/src/routes/project/[projectId]/__layout.svelte
TypeError: Failed to fetch dynamically imported module: http://localhost:3000/src/routes/project/[projectId]/__layout.svelte

in console

Debugger attached.
yarn run v1.22.15
warning package.json: No license field
$ svelte-kit dev
Debugger attached.

  SvelteKit v1.0.0-next.201

  local:   http://localhost:3000
  network: not exposed

  Use --host to expose server to other devices on this network


tabler-icons-svelte is incorrectly packaged. Please contact the package author to fix.
@Gildedter
Copy link

Gildedter commented Apr 3, 2022

Mine doesn't even render and spits out
tabler-icons-svelte doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix. on the dev console

@levg34
Copy link

levg34 commented May 7, 2022

Same issue than @Gildedter for me on svelte kit version 1.0.0-next.326.

@benflap
Copy link
Owner

benflap commented May 7, 2022

Should be fixed in v1.8.0. Sorry it took my so long to publish the fix.

@LukasDoesDev
Copy link

image
Mine tries to load everything 👀

@LukasDoesDev
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants