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
ampersand-version has a hard dependency on window, which doesn't exist in web workers and throws Uncaught ReferenceError: window is not defined.
I confirmed that ampersand-state functions in a worker if window is changed to global in ampersand-version. Browserify will resolve global to the appropriate context in both browser windows and workers.
The text was updated successfully, but these errors were encountered:
You'll need to either reinstall your node modules to pick it up in all the sub dependencies, or install "ampersand-version": "^1.0.2" at the top level of your app.
ampersand-version has a hard dependency on
window
, which doesn't exist in web workers and throwsUncaught ReferenceError: window is not defined
.I confirmed that ampersand-state functions in a worker if
window
is changed toglobal
in ampersand-version. Browserify will resolveglobal
to the appropriate context in both browser windows and workers.The text was updated successfully, but these errors were encountered: