Monday-cli seems not to work on Apple M1

Hi there,

When running npx @mondaydotcomorg/monday-cli scaffold run ./ quickstart-react, I get following output

> Starting scaffolding process
> Repository was downloaded successfully
> Copying the directory
> Installing packages. It can take a few moments
> Node modules were installed successfully
> Running the project
Error: Command failed: npm run start
sh: kill-port: command not found

    at ChildProcess.exithandler (node:child_process:397:12)
    at ChildProcess.emit (node:events:390:28)
    at maybeClose (node:internal/child_process:1064:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) {
  killed: false,
  code: 127,
  signal: null,
  cmd: 'npm run start'
}

I have an Apple M1 chip and I use Node v16.13.1.

Thanks for any advice on that.

Hey! Try running npm install kill-port to install the dependency, and then running the project with npm run start. Should add the missing dependency and do the trick!

1 Like

Thank @dipro
This does the trick even though I had to run npm upgrade first.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.