I'm getting an error when running my extension in ...
# support-framework
t
I'm getting an error when running my extension in "dev" mode, and I'm wondering if anyone has encountered anything similar. There is some code in the generated background.js that ends up throwing a runtime error:
Uncaught TypeError: Cannot read properties of undefined (reading 'fetch')
. The offending line is the following:
exports.fetch = isFunction(global.fetch) && isFunction(global.ReadableStream);
Note, the error does not occur in the production build, so I do suspect the issue is build / framework related.
s
Thread automatically created by @thousands-horse-90118 in #978320682985349130.
3 Views