Unable to find a node module for "command". Have you installed the corresponding dependency? #813
Answered
by
milesj
harrytran998
asked this question in
Q&A
-
Hi team, I decided to move from NX to Moon. But seem not lucky enough 😆. I using Yarn 3 vs MacOS system. I copy some examples of my moon config below, hope you guys can help me solve this 😆. Thanks, team. workspace.yml vcs:
manager: "git"
defaultBranch: "dev"
projects:
api: "apps/api" toolchain.yml node:
version: "18.14.1"
packageManager: "yarn"
yarn:
version: "3.5.0" type: "application"
language: "typescript"
fileGroups:
sources:
- "libs/**/*"
- "modules/**/*"
tests:
- "tests/**/*"
tasks:
dev:
command:
- "miniflare --live-reload --debug --modules server/dist/index.mjs" So when I run
|
Beta Was this translation helpful? Give feedback.
Answered by
milesj
Apr 26, 2023
Replies: 1 comment 1 reply
-
@harrytran998 Command should be a string. If you're using an array, then each arg should be its own line. tasks:
dev:
command: "miniflare --live-reload --debug --modules server/dist/index.mjs" |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
harrytran998
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@harrytran998 Command should be a string. If you're using an array, then each arg should be its own line.