When I run the command npx react-native clean-project-auto I get the following error and the process terminates.
Error running 'wipe node_modules': rm:
Error running 'wipe node_modules': fts_read
Error running 'wipe node_modules': :
Error running 'wipe node_modules': No such file or directory
❌ Command 'wipe node_modules' failed with code: 1
/Users/sushrut/Documents/GitHub/Desora-Smoker-RN/node_modules/@react-native-community/cli/build/index.js:99
const message = err.message.replace(/\.$/, '');
^
TypeError: Cannot read property 'message' of undefined
at handleError (/Users/sushrut/Documents/GitHub/Desora-Smoker-RN/node_modules/@react-native-community/cli/build/index.js:99:25)
at Command.handleAction (/Users/sushrut/Documents/GitHub/Desora-Smoker-RN/node_modules/@react-native-community/cli/build/index.js:189:7)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Library Version: 3.6.4
OS: macOS Big Sur 11.5.2
When I run the command
npx react-native clean-project-autoI get the following error and the process terminates.Library Version: 3.6.4
OS: macOS Big Sur 11.5.2