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
If you export a variable that is undefined from your entry script, Miniflare produces:
MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
✘ [ERROR] service core:user:myproject: Uncaught TypeError: Cannot initialize a dictionary with required members from an undefined or null value.
Note that there is no error thrown when actually deploying and using in production, or when testing with --remote.
NB. In my case, the fact the script was exporting an undefined value was a byproduct of my build process (with vite)
The text was updated successfully, but these errors were encountered:
If you export a variable that is undefined from your entry script, Miniflare produces:
Note that there is no error thrown when actually deploying and using in production, or when testing with
--remote
.NB. In my case, the fact the script was exporting an undefined value was a byproduct of my build process (with vite)
The text was updated successfully, but these errors were encountered: