Error: EPERM: operation not permitted, mkdir 'C:\Users\SHUBHAM~KUNWAR' command not found: create-react-app
The error message "EPERM: operation not permitted, mkdir 'C:\Users\SHUBHAM~KUNWAR'" indicates that the operation of creating a directory at the given path is not permitted. This error commonly occurs when the user does not have the necessary permissions to create a directory in the specified location.
The error message "command not found: create-react-app" suggests that the "create-react-app" command is not recognized or not installed on your system. This command is typically used to create a new React application.
To resolve these issues, you can try the following steps:
Check Permissions: Ensure that you have the necessary permissions to create directories in the specified path. If you are trying to create a directory in a system folder, you may need administrative privileges.
Verify Installation: Make sure that the "create-react-app" command is installed on your system. You can do this by running the following command in your terminal:
npm list -g create-react-app
If the command is not found, you can install it globally by running:
npm install -g create-react-app
Note: This assumes you have Node.js and npm installed on your system.
- Choose a Different Directory: If you still encounter permission issues, try creating the directory in a different location, such as your user directory or a directory where you have write permissions.
If you continue to experience issues, please provide more information about your setup and the specific steps you are taking, so that I can assist you further.