compute.rhino3d
compute.rhino3d copied to clipboard
Fetch is not defined
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.