[v3.0.0] TypeError: Failed to resolve module specifier "tslib"
See original GitHub issueMigrated 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
:

Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks! Just released 3.0.1 with these fixes.
I tried and now it’s working okay. Thanks!