question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[v3.0.0] TypeError: Failed to resolve module specifier "tslib"

See original GitHub issue

Migrated my SvelteKit app to use "centrifuge": "3.0.0". The Centrifugo server version is v4.

During runtime I get the following error message in the browser console:

Uncaught (in promise) TypeError: Failed to resolve module specifier "tslib". Relative references must start with either "/", "./", or "../".

Here is the error message from Vite:

Screenshot 2022-07-21 at 10 45 29

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
FZambiacommented, Jul 21, 2022

Thanks! Just released 3.0.1 with these fixes.

0reactions
heikkilamarkocommented, Jul 21, 2022

I tried and now it’s working okay. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ask Question - Stack Overflow
If I want instal "@fullcalendar" and used it i get error: "Uncaught TypeError: Failed to resolve module specifier "tslib".
Read more >
Issues - GitHub
When importing modules which import other modules using bare modules, we get an error Uncaught TypeError: Failed to resolve module specifier "tslib". Relative ......
Read more >
failed to resolve module specifier "axios". relative references ...
I get Uncaught TypeError: Failed to resolve module specifier "axios". Relative references must start with either "/", "./", or ".
Read more >
Problems loading babylon via es modules - Bugs
the following error is thrown: Uncaught TypeError: Failed to resolve module specifier "tslib". Relative references must start with either ...
Read more >
Uncaught TypeError: Failed to resolve module specifier "three"
It seems your application is missing a correct usage of an import map which means bare module specifier can't be handled. I suggest...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found