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
internal/process/esm_loader.js:74
internalBinding('errors').triggerUncaughtException(
^
Error [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import '/Users/blanchma/learning/rxjs-local/node_modules/rxjs/operators' is not supported resolving ES modules imported from /Users/blanchma/learning/rxjs-local/test.js
Did you mean to import rxjs-local/node_modules/rxjs/operators/index.js?
at finalizeResolution (internal/modules/esm/resolve.js:272:17)
at moduleResolve (internal/modules/esm/resolve.js:699:10)
at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:810:11)
at Loader.resolve (internal/modules/esm/loader.js:86:40)
at Loader.getModuleJob (internal/modules/esm/loader.js:230:28)
at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:56:40)
at link (internal/modules/esm/module_job.js:55:36) {
code: 'ERR_UNSUPPORTED_DIR_IMPORT',
url: 'file:///Users/blanchma/learning/rxjs-local/node_modules/rxjs/operators'
}
Expected behavior
Import and run
Reproduction
[email protected]:blanchma/rxjs-import-fail.git
cd rxjs-import-fail
npm install
node test.js
Bug Report
Current Behavior
Expected behavior
Reproduction
https://github.com/blanchma/rxjs-import-fail
Environment
The text was updated successfully, but these errors were encountered: