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

package.json: "type": "module" #57

Open
vanodevium opened this issue Feb 25, 2025 · 1 comment
Open

package.json: "type": "module" #57

vanodevium opened this issue Feb 25, 2025 · 1 comment

Comments

@vanodevium
Copy link

SyntaxError: Cannot use import statement outside a module
node --version
v20.18.3

Example of usage:

import Monday from '@mondaydotcomorg/api';
const {ApiClient} = Monday

const mondayService = new ApiClient({
  token: process.env.MONDAY_TOKEN,
});

export {mondayService}
@RomKadria
Copy link
Collaborator

RomKadria commented Mar 2, 2025

should be fixed now in 9.0.1

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