Node.js
Node.js package import alias is not defined
A private package import beginning with # cannot be resolved from the current package's imports mapping. The mapping is scoped to that package rather than being a global alias.
Node.js
A private package import beginning with # cannot be resolved from the current package's imports mapping. The mapping is scoped to that package rather than being a global alias.
Observed message
Error [ERR_PACKAGE_IMPORT_NOT_DEFINED]: Package import specifier is not defined in package
Why it happens
How to fix it
Official reference
Node.js Docs: Package subpath importsRelated errors
Explore more