Skip to content

📝 Fix node code example - #3

Open
JoeMcGuire wants to merge 1 commit into
bananaml:mainfrom
JoeMcGuire:patch-1
Open

📝 Fix node code example#3
JoeMcGuire wants to merge 1 commit into
bananaml:mainfrom
JoeMcGuire:patch-1

Conversation

@JoeMcGuire

Copy link
Copy Markdown
  • Change import for const so it executes without an error

What is this?

Update node example in readme

Why?

Currently it fails if you copy and paste it with the error

SyntaxError: Cannot use import statement outside a module

How did you test it?

CLI Node 18

- Change import for const so it executes without an error
laszlo-horvath
laszlo-horvath approved these changes Jun 6, 2023
@laszlo-horvath

Copy link
Copy Markdown

@JoeMcGuire Any update on this?

If the repo is no longer maintained, can you please remove me from the reviewers? Thank you!

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

Successfully merging this pull request may close these issues.

2 participants