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 }}
This repository was archived by the owner on Jan 13, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 13, 2024. It is now read-only.
pkg can't seem to find the content of that import:
> [debug] Bytecode of node:path is added to queue. It was required from <snip>/node_modules/env-paths/index.js
> [debug] Bytecode of node:os is added to queue. It was required from <snip>/node_modules/env-paths/index.js
> [debug] Bytecode of node:process is added to queue. It was required from <snip>/node_modules/env-paths/index.js
> [debug] Stat info of <snip>/node_modules/env-paths/package.json is added to queue.
> [debug] Content of <snip>/node_modules/env-paths/index.js is added to queue. It was required from <snip>/node_modules/env-paths/package.json
> [debug] Content of <snip>/node_modules/env-paths/index.d.ts is added to queue. It was required from <snip>/env-paths/package.json
> [debug] Content of <snip>/node_modules/env-paths/package.json is added to queue.
> [debug] Stat info of <snip>/node_modules/express/package.json is added to queue.
And then later:
> [debug] Directory <snip>/node_modules/env-paths is added to queue.
> [debug] Stat info of node:path is added to queue.
> [debug] Content of node:path is added to queue.
> Error! Cannot read file, ENOENT
node:path
error Command failed with exit code 2.
Activity
Niek commentedon Nov 13, 2021
Had the same issue, if you're using esbuild here is a quick workaround:
evanw/esbuild#1760 (comment)
Add support for `node:` protocol
Add support for import with `node:` (#1405)