library icon indicating copy to clipboard operation
library copied to clipboard

Cannot find "/umd/zxing-browser.min.js" in @zxing/[email protected]

Open robinb78 opened this issue 4 years ago • 11 comments

Hi,

Of course I'm loving zxing-js library :), but this morning bad surprise, https://unpkg.com/@zxing/library@latest seems to be not found.

Is there any problem ?

Thanks a lot ! R

robinb78 avatar May 31 '21 07:05 robinb78

Same issue here!

man0ca avatar Jun 01 '21 12:06 man0ca

You can solve it with that : https://unpkg.com/@zxing/[email protected]/umd/index.js

Have a great day R

robinb78 avatar Jun 01 '21 15:06 robinb78

Same issue here. With Workaround from @robinb78 works it again. But is this the final solution?

scharfenort avatar Jun 01 '21 20:06 scharfenort

You can solve it with that : https://unpkg.com/@zxing/[email protected]/umd/index.js

Have a great day R

THX. works. But as @scharfenort already mentioned, this is not the final solution, is it?

man0ca avatar Jun 02 '21 09:06 man0ca

You can solve it with that : https://unpkg.com/@zxing/[email protected]/umd/index.js

Have a great day R

Thanks, worked for me. Waiting final solution aswell!

didosilva avatar Jun 04 '21 23:06 didosilva

Same Issue. Latest lib link is broken. Zxing Live Demo does not work anymore.

jjibus avatar Jun 05 '21 09:06 jjibus

https://unpkg.com/@zxing/library@latest/umd/index.min.js also works.

timgentry avatar Jun 09 '21 23:06 timgentry

It apparently has to do with unpkg.com that changed method of serving documents. One element of change is the fact that they are applying different rules to MIME types. The console would show something like: `The resource from “https://unpkg.com/@zxing/[email protected]/umd/zxing-browser.min.js” was blocked due to MIME type (“text/plain”) mismatch (X-Content-Type-Options: nosniff).

dvodvo avatar Jun 12 '21 08:06 dvodvo

This issue is still present. It will be possible to fix this? It's such a big issue? maybe an npm or yarn package would work just fine.

stefann01 avatar Aug 03 '21 08:08 stefann01

This issue is still present. It will be possible to fix this? It's such a big issue? maybe an npm or yarn package would work just fine.

https://github.com/zxing-js/library/pull/452#pullrequestreview-696865141 There is a proposed fix you may want to track/ask about.

AristocattSci avatar Aug 03 '21 11:08 AristocattSci

Stale issue message

github-actions[bot] avatar Apr 29 '24 13:04 github-actions[bot]