diZLeXiK
diZLeXiK2d ago

Use `npm run` in a Deno task

I'm in a monorepo where I'm using Deno workspaces, but one of the projects in my repo needs to run with Node and be excluded from the workspace (it's an Expo app). I have a task in my deno.json which is cd app && npm run dev but when I run that with deno task dev:app it gives me the error Config file must be a member of the workspace. It's like Deno takes over for npm, which is not what I want. How can I make this task use actual npm without Deno interfering?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?