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
ReferenceError [Error]: self is not defined
at Object.<anonymous> (/Users/me/projects/project/dev-repo/repos/some-api/node_modules/.pnpm/i18n-postal-address@0.9.1/node_modules/i18n-postal-address/dist/postal-address.js:1:208)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at cjsLoader (node:internal/modules/esm/translators:356:17)
at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:305:7)
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:329:24)
at async importModuleDynamicallyWrapper (node:internal/vm/module:431:15)
Node v20,
ESM import
Package version v0.9.1
Causative code:
import PostalAddress from 'i18n-postal-address'
Indeed, self does not look defined in the named dist file.
Is it a bundling bug?
The text was updated successfully, but these errors were encountered:
Node v20,
ESM import
Package version v0.9.1
Causative code:
Indeed,
self
does not look defined in the named dist file.Is it a bundling bug?
The text was updated successfully, but these errors were encountered: