plopjs / plop

Consistency Made Simple
http://plopjs.com
MIT License
7.12k stars 277 forks source link

No plopfile found! - message after compilation in procedural script #386

Closed konstantinB1 closed 1 year ago

konstantinB1 commented 1 year ago

When running a command: "generate:plop": "concurrently -g --names \"swc plopfile\\,generate api\" -g \"npx swc ./.build/rtkGenerator/plopfile.ts -o ./.build/rtkGenerator/plopfile.js\" \"plop --plopfile ./build/rtkGenerator/plopfile.js", It results in error message, saying plopfile.js doesn't exist, even tho the file is there and the command runs after compilation.

Expected behaviour

Run plopfile.js normally

Actual behaviour

Error message: No plopfile found!

Little more about the issue here

crutchcorn commented 1 year ago

Do you have a minimal repro I can use to investigate? The linked issue is super broad and likely isn't the root cause of what you're experiencing.

crutchcorn commented 1 year ago

Closing as there's no minimal repro