I just followed the tutorial, and it failed on Unit 4/5: Create an Azure Static Web App. The failure is visible on the automatically generated workflow run here.
It can also be reproduced locally:
- Clone this repo
cd react-app
npm install
npm run build
- Observe error:
> react-app@0.1.0 build
> react-scripts build
Creating an optimized production build...
Failed to compile.
[eslint] Failed to load parser 'react-scripts/node_modules/babel-eslint' declared in '.eslintrc.json': Cannot find module 'react-scripts/node_modules/babel-eslint'
Require stack:
- /Users/victor/repos/victorlin/my-static-web-app/react-app/.eslintrc.json
I just followed the tutorial, and it failed on Unit 4/5: Create an Azure Static Web App. The failure is visible on the automatically generated workflow run here.
It can also be reproduced locally:
cd react-appnpm installnpm run build