Error with JavaScript API: “ReferenceError: regeneratorRuntime is not defined”

Hello,
I’m trying to use the JavaScript API, following the steps described here.
I’m using Node; I installed the seatable-api package using npm (I hope this is the right one):
npm i seatable-api

When I run the following code:
import { Base } from "seatable-api";

I get this error:
ReferenceError: regeneratorRuntime is not defined

What should I do?

(In the meantime, I’m using the savvytec-seatable package, which seems less comprehensive but works for me.)

We will check the issue.

1 Like

It turns out to be a packaging problem. We have fixed it and released a new version.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.