Verify latest release
pnpm version
9.10.0
Which area(s) of pnpm are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
pnpm install
Describe the Bug
After pnpm install says it's finished,
After postinstall hook says it's finished,
usually at the part where it prints a bunch of warnings about peer dependencies, pnpm just prints the one line:
"Cannot read properties of undefined (reading 'name')"
There is no stack trace available.
We are using @pnpm/exe
The node_modules folder is populated after install -- but I'm concerned the process may have exited prematurely.
Is there a way to set verbose logging or to debug exactly how this error is being printed?
Expected Behavior
I would normally expect to not see this error printed, and instead see a bunch of warnings about peer dependencies printed at the end.
EDIT: the issue repros in 9.10.0 but not 9.9.0, so the issue must have been introduced between versions.
Which Node.js version are you using?
Whatever is shipped with @pnpm/exe@9.10.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response
Verify latest release
pnpm version
9.10.0
Which area(s) of pnpm are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
pnpm install
Describe the Bug
After pnpm install says it's finished,
After postinstall hook says it's finished,
usually at the part where it prints a bunch of warnings about peer dependencies, pnpm just prints the one line:
"Cannot read properties of undefined (reading 'name')"There is no stack trace available.
We are using @pnpm/exe
The node_modules folder is populated after install -- but I'm concerned the process may have exited prematurely.
Is there a way to set verbose logging or to debug exactly how this error is being printed?
Expected Behavior
I would normally expect to not see this error printed, and instead see a bunch of warnings about peer dependencies printed at the end.
EDIT: the issue repros in 9.10.0 but not 9.9.0, so the issue must have been introduced between versions.
Which Node.js version are you using?
Whatever is shipped with @pnpm/exe@9.10.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response