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
{{ message }}
Repository navigation
node-resolve plugin discards this re-exported file #1946
so that this error is produced (see repro link above):
Uncaught ReferenceError: Cannot access 'Zt' before initialization
at _e (vendor-o4ka1zf0.js:9:5572)
at In (vendor-o4ka1zf0.js:12:15964)
at Fn (vendor-o4ka1zf0.js:12:19479)
at Tn (vendor-o4ka1zf0.js:12:30519)
at vendor-o4ka1zf0.js:12:30590
Additional Information
On my actual build (not the stack blitz) at what files are 'available' via source map, the whole 'util.inspect.js' file is missing
Activity
AncientSwordRage commentedon Nov 25, 2025
It looks like this is a known compatibility issue: object-inspect/issues/18
Which has been reported and 'fixed' before: rollup-plugin-node-resolve/pull/183
And I found this part of the docs: Resolving Built-Ins (like fs).
But I haven't gotten it to work, but I've updated the repro link to reflect what that doc says
edit: You need to call
npm run build&&npm run previewto see this