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
Some modules, such as node:stream export a function as the default export. When imported in an optimized dependency with the CJS external facade, require_stream should return a function with the named exports as its enumerable properties. This is the source of the error reported here - cloudflare/workers-sdk#9225.
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
Some modules, such as
node:stream
export a function as the default export. When imported in an optimized dependency with the CJS external facade,require_stream
should return a function with the named exports as its enumerable properties. This is the source of the error reported here - cloudflare/workers-sdk#9225.Reproduction
https://github.com/alexanderniebuhr/cf-vite-jsonwebtoken
Steps to reproduce
Run
pnpm i
followed bypnpm dev
.System Info
Used Package Manager
pnpm
Logs
TypeError: The "superCtor.prototype" property must be of type object. Received undefined
Validations
The text was updated successfully, but these errors were encountered: