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
I'd like to use miniflare so I can use breakpoints to step through the code, as I believe this isn't supported in wrangler currently. When I run:
npm run miniflare --modules --watch --debug
I get the error:
VMScriptRunnerError [ERR_MODULE_RULE]: Unable to resolve "src/chat.mjs" dependency "./chat.html": no matching module rules. If you're trying to import an npm package, you'll need to bundle your Worker first.
Commenting out lines 62 and 104 in chat.mjs prevents the error but means no web client is available. Does anyone know a workaround for this issue, or a related ticket?
The text was updated successfully, but these errors were encountered:
I'd like to use miniflare so I can use breakpoints to step through the code, as I believe this isn't supported in wrangler currently. When I run:
npm run miniflare --modules --watch --debug
I get the error:
VMScriptRunnerError [ERR_MODULE_RULE]: Unable to resolve "src/chat.mjs" dependency "./chat.html": no matching module rules. If you're trying to import an npm package, you'll need to bundle your Worker first.
Commenting out lines 62 and 104 in chat.mjs prevents the error but means no web client is available. Does anyone know a workaround for this issue, or a related ticket?
The text was updated successfully, but these errors were encountered: