'rm' is not recognized as an internal or external command when trying publish a capacitor plugin
问题 I am trying to publish a capacitor plugin. According to the error it is not able to recognize rm . I am using Window's Powershell (VC Code) The following error is being generated in the powershell when npm publish in run PS C:\Users\xxxxx\Documents\demo-plugin> npm run build demo-plugin@0.0.1 build C:\Users\xxxxx\Documents\demo-plugin npm run clean && tsc demo-plugin@0.0.1 clean C:\Users\xxxxxx\Documents\demo-plugin rm -rf ./dist 'rm' is not recognized as an internal or external command,