Skip to content

[Q*A] Moon cannot access the current package "bin" to execute the command #1717

Answered by milesj
harrytran998 asked this question in Q&A
Discussion options

You must be logged in to vote

@harrytran998 What is the platform of moon task api:dev? It should be Node.js. If it is not, you can do this:

tasks:
  dev:
    command: "nodemon"
    platform: "node"

If this still doesn't work, then the nodemon may be one of those binaries that just doesn't work without calling it though npm/pnpm/yarn.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@harrytran998
Comment options

Answer selected by harrytran998
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants