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

Fetch is not defined #436

Open
EmptyBox-Design opened this issue Dec 13, 2021 · 0 comments
Open

Fetch is not defined #436

EmptyBox-Design opened this issue Dec 13, 2021 · 0 comments

Comments

@EmptyBox-Design
Copy link

Working in Nuxt@latest using yarn and when attempting to start localhost get error fetch is not defined. When going to the node_modules location for compute-rhino3d I can see node-fetch is part of the dependency tree, and even tried manually running yarn install in the location still get the error.

I found a work-around by declaring node-fetch globally in the app and setting it using global.fetch = fetch. However this does not seem well advised.

Any clarification would be helpful to what the library is not able to get fetch locally.

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

1 participant