Pnpm deploy command deploy nothing #7619
Unanswered
MathieuAndrade
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello !
I try to use
pnpm deploy
as mentioned in documentation.This command seem to "deploy" a package from workspace with his node_modules in seperated target folder.
The documentation explicit mentionned The target directory will contain a portable package that can be copied to a server and executed without additional steps.
But unfortunately, the command only copy the content of targeted package and create an empty node_modules folder with a
pnpm-lock
file. 😞So a tried to copy the content of the target folder (after run deploy command) and try to run a
pnpm install
(maybe ?, for the test), but the others packages of workspace mentioned in lock file failed to install.I don't understand why this isn't working and what if I missed something in the documentation ?
Here is a minimal repo for reproduction: Pnpm deploy test and Codespace link maybe
I use Pnpm 8.15.0 and Windows 10 (with WSL 2)
Thanks for your help 🙏
Beta Was this translation helpful? Give feedback.
All reactions