|
| 1 | +[1]> vp install -g testnpm2 # rejected: managed install |
| 2 | +error: Global package operations (`-g`/`--global`) are only supported by the globally-installed `vp` CLI. See https://viteplus.dev/guide/ to install it, then run the same command via the global `vp` binary. |
| 3 | + |
| 4 | +[1]> vp install -g testnpm2 --node 20 # rejected: --node implicitly covered |
| 5 | +error: Global package operations (`-g`/`--global`) are only supported by the globally-installed `vp` CLI. See https://viteplus.dev/guide/ to install it, then run the same command via the global `vp` binary. |
| 6 | + |
| 7 | +[1]> vp add -g testnpm2 # rejected: managed add |
| 8 | +error: Global package operations (`-g`/`--global`) are only supported by the globally-installed `vp` CLI. See https://viteplus.dev/guide/ to install it, then run the same command via the global `vp` binary. |
| 9 | + |
| 10 | +[1]> vp add -g testnpm2 --node 20 # rejected: --node implicitly covered |
| 11 | +error: Global package operations (`-g`/`--global`) are only supported by the globally-installed `vp` CLI. See https://viteplus.dev/guide/ to install it, then run the same command via the global `vp` binary. |
| 12 | + |
| 13 | +[1]> vp remove -g testnpm2 # rejected: managed uninstall |
| 14 | +error: Global package operations (`-g`/`--global`) are only supported by the globally-installed `vp` CLI. See https://viteplus.dev/guide/ to install it, then run the same command via the global `vp` binary. |
| 15 | + |
| 16 | +[1]> vp remove -g --dry-run testnpm2 # rejected: --dry-run implicitly covered |
| 17 | +error: Global package operations (`-g`/`--global`) are only supported by the globally-installed `vp` CLI. See https://viteplus.dev/guide/ to install it, then run the same command via the global `vp` binary. |
| 18 | + |
| 19 | +[1]> vp update -g # rejected: managed update |
| 20 | +error: Global package operations (`-g`/`--global`) are only supported by the globally-installed `vp` CLI. See https://viteplus.dev/guide/ to install it, then run the same command via the global `vp` binary. |
| 21 | + |
| 22 | +[1]> vp update -g testnpm2 # rejected: managed update with package |
| 23 | +error: Global package operations (`-g`/`--global`) are only supported by the globally-installed `vp` CLI. See https://viteplus.dev/guide/ to install it, then run the same command via the global `vp` binary. |
| 24 | + |
| 25 | +[1]> vp pm ls -g # rejected: managed packages listing |
| 26 | +error: Global package operations (`-g`/`--global`) are only supported by the globally-installed `vp` CLI. See https://viteplus.dev/guide/ to install it, then run the same command via the global `vp` binary. |
0 commit comments