I am facing an issue on Mac OS with an npm script in the package.json of a shared app that is mostly run on Windows PCs.
Here is the package.json script:
"postinstall": "del node_modules\\@angular\\compiler-cli\\ngcc\\__ngcc_lock_file__ && ngcc",
When I run npm run postinstall on Mac OS, I get the following error:
sh: del: command not found
Is there a mac equivalent to "del" that I can use to create a mac friendly version of this command?
"postinstall-mac": "??? node_modules\\@angular\\compiler-cli\\ngcc\\__ngcc_lock_file__ && ngcc",