pulumi/sdk/nodejs/npm
Julien P 1b0b98cfe1
Display an actionable error message when dependency installation fails (#16489)
When the dependency installation fails because we could not find the
packagemanager executable, tell the user how to remedy the error and
finish the dependency installation.

Example:
```
The packagemangager to use for installing dependencies pnpm
Installing dependencies...

error: installing dependencies failed: Could not find `pnpm` executable.
Install pnpm from https://pnpm.io/installation and make sure it is in your PATH.
Run `pulumi install` to complete the installation.
```
2024-06-28 23:22:17 +00:00
..
testdata Replace Rome with Biome in the NodeJS SDK (#16456) 2024-06-24 11:14:56 +00:00
manager.go Add packagemanager prompt to pulumi new for nodejs (#16417) 2024-06-21 11:35:06 +00:00
manager_test.go Add packagemanager prompt to pulumi new for nodejs (#16417) 2024-06-21 11:35:06 +00:00
npm.go Display an actionable error message when dependency installation fails (#16489) 2024-06-28 23:22:17 +00:00
npm_test.go Fix TestNPMInstallCmd 2023-05-29 14:16:23 +01:00
pnpm.go Display an actionable error message when dependency installation fails (#16489) 2024-06-28 23:22:17 +00:00
workspaces.go Detect pnpm workspaces (#15525) 2024-06-18 13:37:06 +00:00
workspaces_test.go Detect pnpm workspaces (#15525) 2024-06-18 13:37:06 +00:00
yarn.go Display an actionable error message when dependency installation fails (#16489) 2024-06-28 23:22:17 +00:00