bcomnes / npm-run-all2

A CLI tool to run multiple npm-scripts in parallel or sequential. (Maintenance fork)
MIT License
250 stars 12 forks source link

Doesn't work on StackBlitz #108

Closed XhmikosR closed 1 year ago

XhmikosR commented 1 year ago

Hey, @bcomnes.

I recently started switching my projects to npm-run-all2 and overall it's been a smooth switch.

That being said, I noticed that StackBlitz doesn't work with npm-run-all2. I suspect it has to do with one of the npm path changes in the recent versions.

$ npm-run-all --parallel watch server
ERROR: The "path" argument must be of type string. Received undefined

IIRC StackBlitz is using turbopack, but it'd be nice if npm-run-all2 could also work on StackBlitz.

bcomnes commented 1 year ago

Possible related to https://github.com/bcomnes/npm-run-all2/commit/61e84ea44dd5c54a6d8a4e1bc9598ed989dfee01 ?

bcomnes commented 1 year ago

Seems like an issue with stackbliz but open to fixes if it improves things there and doesn't make things worse here. Closing the issue until someones willing to submit a PR.