I'm trying to create a basic express-api frame from the generator.A problem is whatever I do, the CMD keeps throwing an error called spawn rm ENOENT for no reasons.C:\Users\pcName\Desktop\dev>npx create-express-api crud Cloning into 'crud'... events.js:292 throw er; // Unhandled 'error' event ^ Error: spawn rm ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19) at onErrorNT (internal/child_process.js:469:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) Emitted 'error' event on ChildProcess instance at: at Process.ChildProcess._handle.onexit (internal/child_process.js:273:12) at onErrorNT (internal/child_process.js:469:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) { errno: 'ENOENT', code: 'ENOENT', syscall: 'spawn rm', path: 'rm', spawnargs: [ '-rf', 'crud/.git' ] I've installed multiple CLIs on my node_modules folder that require to launch the express-api bundle yet still it never works.module list:create-express-apicross-spawnlockfileexpress-generatornpxnpmrmyarnAny tips to resolve the problem?
Submitted August 05, 2020 at 05:26AM by droohed
No comments:
Post a Comment