After initiating a new react project with npx create-react-app client
, I have encountered an issue where the react-scripts command is not found, preventing me from running the start script. Is there a way to resolve this problem?
Furthermore, when attempting to run the application using
node <direct path to react-scripts start file>
, I am unable to utilize the dotenv module due to the lack of support for pollyfill with the fs and os modules. Are there any solutions available?
The environment I am working in includes:
- npm version: 8.19.2
- node version: v16.17.0