Vite
Vite surfaced a strict-mode type error from incompatible code
Vite surfaced runtime code that depends on non-strict JavaScript semantics, which fail under ESM strict mode.
Vite
Vite surfaced runtime code that depends on non-strict JavaScript semantics, which fail under ESM strict mode.
Observed message
TypeError: Cannot create property 'foo' on boolean 'false'
Why it happens
How to fix it
Official reference
Vite: TroubleshootingRelated errors
Explore more