You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just updated my pyodide from 0.17.0 runnig from a WebWorker to 0.18.1. Since I updated I get the following error when calling loadPyodide from the WebWorker:
Uncaught (in promise) ReferenceError: require is not defined
at fetchRemotePackage (pyodide.asm.js:14)
at loadPackage (pyodide.asm.js:14)
at pyodide.asm.js:14
at pyodide.asm.js:14
at loadPyodide (pyodide.js:227)
at async listener (pyWorker.js:78)
Looks like fetchRemotePackagewas changed in 0.18 to use require('fs') when process is defined as an Object (which it is in a WebWorker).
The text was updated successfully, but these errors were encountered:
Just updated my pyodide from 0.17.0 runnig from a WebWorker to 0.18.1. Since I updated I get the following error when calling
loadPyodide
from the WebWorker:Looks like
fetchRemotePackage
was changed in 0.18 to userequire('fs')
whenprocess
is defined as an Object (which it is in a WebWorker).The text was updated successfully, but these errors were encountered: