-
I am in windows 10 ERR_PNPM_NO_SCRIPT Missing script: dev
Exception: pnpm exited with 1 but |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
It looks like putting arguments after
But if you use filter flag before |
Beta Was this translation helpful? Give feedback.
-
I have the similar issue when run
To fix it, just replace See also https://woshub.com/run-multiple-commands-one-line-powershell-cmd/, https://www.baeldung.com/linux/difference-ampersand-semicolon, https://superuser.com/questions/345602/what-is-cmds-equivalent-to-bashs-ampersand-for-running-a-command-without-w. |
Beta Was this translation helpful? Give feedback.
It looks like putting arguments after
dev
script/command force pnpm to:--filter pacakge
as arguments to this script (as it may be options fordev
command).But if you use filter flag before
run
command, then it knows that this ispnpm
options and run command correctly.I'm always use filters right after
pnpm
to avoid this problems.