Replies: 5 comments 4 replies
-
|
Thanks for filing. Just added a quick shortcut fix here: 76dca31 That should work until we can add some longer-term, skypack-specific contenttype handling. |
Beta Was this translation helpful? Give feedback.
-
|
I think I got the same error but it looks like the prefetch package returns text/html. Kind of strange. http://localhost:8080/_snowpack/pkg/@prefresh/snowpack/runtime |
Beta Was this translation helpful? Give feedback.
-
|
similar si tuation for me to: |
Beta Was this translation helpful? Give feedback.
-
|
I got this error on my Deployed Netlify site |
Beta Was this translation helpful? Give feedback.
-
|
nginx serve config: look https://blog.csdn.net/qq_32590631/article/details/112016792 go here: sudo vim /etc/nginx/mime.types edit: application/javascript js; this: application/javascript js mjs; sudo nginx -s reload |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have started a fresh sca-react-ts just added antd. and in the snowpack.config.js set
packageOptions:{source: 'remote',types:true}I get following error:
Failed to load module script: The server responded with a non-JavaScript MIME type of "application/octet-stream". Strict MIME type checking is enforced for module scripts per HTML specurl is:
http://localhost:8081/_snowpack/pkg/error/build:antd@v4.10.2-brvSpWOme5M2tl48XtzZminimal project example to reproduce error can be found: https://github.com/Relaxe111/snowpack3-csa-react-ts-antd-source-remote.git
I've noticed that similar issues appear to few packages which i use in my projects when I use
source: 'remote'.Beta Was this translation helpful? Give feedback.
All reactions