Comments (8)
Hi all - I've found a solution without deleting stuff.
In package.json
update the react-scripts
version.
"react-scripts": "2.1.8",
Does anyone can help to explain / refer me to resources on why this update solve the problem ?
I am just curious about the mechanics behind it.
from advanced-react-patterns-v2.
Looks like an issue with babel and history package: remix-run/history#677
The fast fix will be: vim node_modules/history/esm/history.js
remove the first line: import _extends from '@babel/runtime/helpers/esm/extends'
then run again: npm run setup --silent
from advanced-react-patterns-v2.
I have the same problem
node v8.14.0
npm v6.4.1
from advanced-react-patterns-v2.
Same problem here only in other js file in node modules,
node v8.12.0
npm v6.8.0
from advanced-react-patterns-v2.
Anyone want to figure out what's going on all of a sudden?
from advanced-react-patterns-v2.
Similar issue here gatsbyjs/gatsby#7668
But none of the suggested "fixes" seem to work
from advanced-react-patterns-v2.
I solved the issue for me by just deleting the js file in the node modules that was causing the trouble.
More specifically I had this exact same error in "/advanced-react-patterns-v2/node_modules/history/esm/history.js" ( I deleted that very file) and everything seems to be working fine now.
Good luck with finding the root of the problem. :) (I'll keep trying myself)
from advanced-react-patterns-v2.
It could be any number of things. The reason it broke probably has to do with a recent release of the history
package. Glad that it's working now though.
from advanced-react-patterns-v2.
Related Issues (20)
- autofill-feedback-email script doesn't update files on windows machines HOT 1
- npm run build error HOT 17
- Running app locally breaks after page refresh HOT 4
- Running tests is stuck HOT 1
- Test 07 doesn't test for defaultProps HOT 1
- Component with React.createContext() used in older version of react HOT 1
- Why doesn't changing the parent state update both Toggle's? HOT 1
- Add extra credit for exercise 02 HOT 1
- No solution to extra credit #2 HOT 2
- Consumers still re-rendering after passing this.state to provider HOT 1
- Control Props with state reducer HOT 2
- HOC Exercise fails even though my code matches the video HOT 3
- Unnecessary Toggle Function in exercise 05? HOT 1
- npm start doesn't works HOT 5
- ErrorCatcher doesn't work on Exercise 6 (Prop Getters) HOT 1
- Unmodified CodeSandbox failing all tests HOT 3
- There might be a problem with the project dependency tree. It is likely not a bug in Create React App, but something you need to fix locally. HOT 2
- Error: Cannot find module 'node-bin-darwin-arm64/package.json'
- codesandbox link is not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from advanced-react-patterns-v2.