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
It looks like vercel pkg is choking on the node:path import syntax introduced in that commit.
Relevant snippets of pkg debug output:
> [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.
The text was updated successfully, but these errors were encountered:
Hi! This is a great package, thanks for creating it.
Version 3.0.0 (specifically, commit 995e663) breaks packaging with vercel pkg (https://github.com/vercel/pkg).
It looks like vercel pkg is choking on the
node:path
import syntax introduced in that commit.Relevant snippets of pkg debug output:
And then later:
The text was updated successfully, but these errors were encountered: