Unable to run npm start

when i try to run npm start i get following error

‘SINGLE_START’ is not recognized as an internal or external command,
operable program or batch file.
npm ERR! errno 1
npm ERR! bpmn-js@8.2.0 start: SINGLE_START=modeler npm run dev
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bpmn-js@8.2.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.

kindly help here

Hello Rajeev_Sharma,

What steps did you take to get to this error?
We would need additional context to help you.

I assume you’re on Windows.

Using something like npx cross-env SINGLE_START=modeler npm run dev should run successfully.

I’ve created a PR that fixes this issue: fix: make npm start run on Windows by philippfromme · Pull Request #1422 · bpmn-io/bpmn-js · GitHub

You can expect this to work out of the box with the next release. :+1:

1 Like