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

[@rollup/plugin-commonjs] Uncaught TypeError: utils.Buf8 is not a constructor at strings.js:27:16 in pako #1671

Open
JamesWilmot opened this issue Feb 8, 2024 · 1 comment

Comments

@JamesWilmot
Copy link

JamesWilmot commented Feb 8, 2024

Expected Behavior

Run npm start and navigate to http://localhost:8000/dummy. plugin-commonjs 'compiles' pako UMD module into es6.

Actual Behavior

google-chrome reports following in console:

strings.js:27 Uncaught TypeError: utils.Buf8 is not a constructor
    at strings.js:27:16

in /node_modules/pako/lib/utils/strings.js

Additional Information

@shellscape
Copy link
Collaborator

Thanks for the issue. Unfortunately your reproduction doesn't meet the criteria for minimal. Please see the link in the issue template for guidance and try again, or we can convert this to a Q & A discussion.

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

2 participants