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 can't get a great repo because I am running this at work and the stacktrace doesn't point at a particularly problematic file.
What is the expected behavior?
No error.
What do you see instead?
I tried to use the new bun dev server with bun index.html, but I see this error:
frontend ReferenceError: __require is not defined
at e (http://localhost:3000/_bun/client/index-000000002ee2e723.js:51667:18)
at http://localhost:3000/_bun/client/index-000000002ee2e723.js:51671:8
at http://localhost:3000/_bun/client/index-000000002ee2e723.js:51629:26
at node_modules/localforage/dist/localforage.js (http://localhost:3000/_bun/client/index-000000002ee2e723.js:51645:7)
at node_modules/@sentry/integrations/esm/offline.js (http://localhost:3000/_bun/client/index-000000002ee2e723.js:51541:39)
at async node_modules/@sentry/integrations/esm/index.js (http://localhost:3000/_bun/client/index-000000002ee2e723.js:50983:27)
None of the three files listed have a symbol named __require, so I'm stumped.
Additional information
No response
The text was updated successfully, but these errors were encountered:
i apologize for missing source maps. that is really weird.
if you navigate your browser to http://localhost:3000/_bun/client/index-000000002ee2e723.js:51667:18, open the file in text editor, you should be able to scroll upwards to find the nearest function wrapper. if you can share code around where __require shows up (especially if it is happening in a file from node_modules/) that would help.
example of what these files look like with the Fold Level 2 action in vscode ran.
i have a suspicion what this is without seeing that though, but i am fixing some other at the moment before i do deep investigations.
What version of Bun is running?
1.2.3
What platform is your computer?
macos
What steps can reproduce the bug?
I can't get a great repo because I am running this at work and the stacktrace doesn't point at a particularly problematic file.
What is the expected behavior?
No error.
What do you see instead?
I tried to use the new bun dev server with
bun index.html
, but I see this error:None of the three files listed have a symbol named
__require
, so I'm stumped.Additional information
No response
The text was updated successfully, but these errors were encountered: