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

run 'node server.js',Error: Invalid environment; fetch is not defined #44

Open
z-x-x136 opened this issue Mar 26, 2023 · 1 comment
Open

Comments

@z-x-x136
Copy link

No description provided.

@swaroski
Copy link

swaroski commented May 3, 2023

I was able to fix this issue by upgrading to Nodejs version 18. Node-fetch is not available in Nodejs versions<18 out of the box.

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