score:35
it is a new bug in browserlist.
there are new reports on this both in create-react-app: https://github.com/facebook/create-react-app/issues/7239
and in browserlist: https://github.com/browserslist/browserslist/issues/382#issuecomment-502991170
as suggested by john forbes below the workaround given on the github issue is to change the browserslist entry in package.json to
"browserslist": []
this will build and run the project.
score:1
at the moment you can try this and wait for further fix
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
]
}
score:1
i can confirm that forcing a yarn resolution for caniuse-lite@1.0.30000974 fixes the error. it must be an issue with the latest caniuse-lite@1.0.30000975 release.
temporary solution:
in package.json add
"resolutions": { "browserslist": "4.6.2", "caniuse-lite": "1.0.30000974" },
this method solved my problem.
score:2
as proper temporal solution till bug fixing: add to package.json this:
"resolutions": {
"browserslist": "4.6.2",
"caniuse-lite": "1.0.30000974"
},
Source: stackoverflow.com
Related Query
- Open Source React App Failed to Compile after npm install and npm start
- React JS npm start shows failed to compile web-vitals
- Missing Script when I run npm start to create React app
- create react app - without typescript , got Error: Failed to load parser '@typescript-eslint/parser'
- React App failed to compile after install
- Create React App with TypeScript and NPM Link: Enums causing Module parse failed
- New React app failed to compile immediatly following install
- Create React App - (ESLint) Failed to load config "shared-config" to extend from. Referenced from: <PATH> in Visual Studio
- Create a react app and use a npm start command but it is not working
- Attempted import error, failed to compile react app
- React App failed to compile - Module not found: Can't resolve 'react'
- create react app with express on azure app service fails to start
- Failed to create react app using "npx create-react-app signup_react"
- create react app not picking up .env files?
- How to create a React app directly in the current folder
- What is the difference between NextJs and Create React App
- How to create multiple page app using react
- When to use a react framework such as Next or Gatsby vs Create React App
- Issue with babel-jest dependency when running npm start in a React app
- React app error: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS
- React create app hot reload is not always working on linux
- Cannot find module 'caniuse-lite/dist/unpacker/agents' when running create react app
- The react-scripts package provided by Create React App requires a dependency:
- Create react app Error: Cannot find module './locale'
- Create React App not working
- How to not show warnings in Create React App
- create-react-app Failing to create a new React app in windows 10
- Create React App not showing error message with ErrorBoundary
- Docker Create react app hot reload not working
- Create React App 4.0 cannot resolve image path in public folder
More Query from same tag
- Could not find "store" in either the context or props
- Argument of type 'string' is not assignable to parameter of type '{ name: string; }'
- useLocation working in GoogleChrome but not in Firefox
- Load images using React/Webpack
- How to get a React component's innerHTML
- Dropdown menu in React not showing
- How do I apply a margin to a React component without modifying the component itself?
- When and where should I use a "fetchingData" state for normalized data in Redux store?
- Startegy for organzing the endpoints in SPA app
- Overriding onChange behavior with React / Redux Forms
- React Material-UI pure javascript
- Adding innerBlock with attributes on click in Wordpress Gutenberg Editor
- React control flow component with Typescript
- How can I compare two arrays of objects and add new key to an objects in the second array
- ts/react - fetch in useEffect gets called multiple times
- How to mock in JEST document html elements like webview or iframe?
- this.setState is giving error
- problem with react-js-pagination css import
- how to filter object from nested objects by specific unique key
- Remove the checked item from the checkbox array in Reactjs
- I'm trying to make a page navigation bar using express framework and pug library when I hit my endpoint demo page I got nothing on my screen. please h
- How to get scroll properties in react-simplebar (in stateful function)
- Know React Component expected props from another Component
- i am new to redux and react i am trying to update the nested state in REDUX store, but unable to sort it out
- How to set img in label using React?
- Data won't show in Firestore Database
- How to connect react js with node js?
- Passing Props with spread operator when using destructuring
- React+to get file details with name,type, and binary data and all details well sufficient for backend sysytem to store image
- How can i toggle a Boolean value correctly for specific object in a array?