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
ReferenceError: atob is not defined #59
Comments
Hi @MigueloAtla Please check #57 (comment) If you can create a minimal reproduction environment, I'll check that. |
Hi @hand-dot, I have the same issue and I created the minimal app I also found out that this issue exists on node14, but it will go away when upgrading to node16 |
Thank you create a minimal app, I'll check that repo. |
To sum this up (and for anyone that cannot read japanese): Node.js 16 adds a web API compatibility layer providing a global The linked reference suggests installing a package "atob" on Node.js < 15 and adding it to the global, based on the documentation linked above we can add that alias ourselves instead of adding an additional package:
To close this issue there should probably be some kind of note added to the readme as you probably want to continue support for Node.js 14 while it's still in maintenance mode: https://nodejs.org/en/about/releases/ |
Not able to use the package.
I'm getting this error only importing from @pdfme/generator.
The text was updated successfully, but these errors were encountered: