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

Arquero in Google Apps Script #388

Open
giuslaur opened this issue Feb 5, 2025 · 1 comment
Open

Arquero in Google Apps Script #388

giuslaur opened this issue Feb 5, 2025 · 1 comment

Comments

@giuslaur
Copy link

giuslaur commented Feb 5, 2025

When I try to use Arquero in Google Apps Script I receive this error message:

ReferenceError: TextDecoder is not defined

I am calling in my code:
https://cdn.jsdelivr.net/npm/arquero@latest/dist/arquero.min.js

@jheer
Copy link
Member

jheer commented Feb 5, 2025

Sorry it's not working for you. TextDecoder is a web standard available in modern JavaScript runtimes. See https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder for more, including a compatibility chart.

Maybe Google Apps is enforcing an earlier (or limited) JS version? If so, you might need to transpile Arquero (using Babel or similar), adding polyfills for "missing" features like TextDecoder.

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