compute.rhino3d icon indicating copy to clipboard operation
compute.rhino3d copied to clipboard

Fetch is not defined

Open EmptyBox-Design opened this issue 2 years ago • 0 comments

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.

EmptyBox-Design avatar Dec 13 '21 19:12 EmptyBox-Design