-
-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Open
Description
I am encountering an issue when trying to start a new React app using create-react-app. After running the commands below, I get the following error when executing npm start.
npx create-react-app client
cd client
npm start
The npm start command fails with the following error message:
> client@0.1.0 start
> react-scripts start
Cannot find module 'ajv/dist/compile/codegen'
Require stack:
- /home/tanjil/stockmaster/client/node_modules/ajv-keywords/dist/definitions/typeof.js
- /home/tanjil/stockmaster/client/node_modules/ajv-keywords/dist/keywords/typeof.js
- /home/tanjil/stockmaster/client/node_modules/ajv-keywords/dist/keywords/index.js
- /home/tanjil/stockmaster/client/node_modules/ajv-keywords/dist/index.js
- /home/tanjil/stockmaster/client/node_modules/schema-utils/dist/validate.js
- /home/tanjil/stockmaster/client/node_modules/schema-utils/dist/index.js
- /home/tanjil/stockmaster/client/node_modules/webpack-dev-server/lib/Server.js
- /home/tanjil/stockmaster/client/node_modules/react-scripts/scripts/start.js
Reactions are currently unavailable