Comments (14)
If you don't need Opera Mobile support you can also fix this by removing the "last 2 OperaMobile versions"
from package.json.
from complete-intro-to-react-v5.
Same issue here. Setting parcel-bundler to 1.9.7 didn't work for me too.
from complete-intro-to-react-v5.
Same issue here. Setting parcel-bundler to 1.9.7 didn't work for me too.
I resolve the problem with this comand ' npm install -D [email protected] '
from complete-intro-to-react-v5.
I don't exactly feel ok with all the vulnerabilities though. Is there any other way to make this work? I don't think downgrading a plugin should be an actual fix.
Also after the downgrade my entire selection block is gone. I don't think that'll fix it for me.
I resolved this by adding import "babel-polyfill"
or import "regenerator-runtime/runtime"
on the SearchParam.js. Hope that worked for you.
from complete-intro-to-react-v5.
I'm getting the same error. Seems to throw the error after it calls requestPets()
in the onSubmit event handler on the form.
from complete-intro-to-react-v5.
I fixed it by changing the parcel-bundler version to 1.9.7 but I'm sure there's a better solution.
from complete-intro-to-react-v5.
I resolve the problem with this comand ' npm install -D [email protected] '
Did the job, thanks a lot! Now I can continue with the course :)
In my first try I just changed the version number in package.json, which caused a pile of errors due to other dependencies.
from complete-intro-to-react-v5.
Mr.BrianHolt give me some solution to resolve this problem
from complete-intro-to-react-v5.
I don't exactly feel ok with all the vulnerabilities though. Is there any other way to make this work? I don't think downgrading a plugin should be an actual fix.
Also after the downgrade my entire selection block is gone. I don't think that'll fix it for me.
from complete-intro-to-react-v5.
I'm getting these in my console now:
Uncaught ReferenceError: regeneratorRuntime is not defined
at SearchParams.js:6
at SearchParams (SearchParams.js:6)
at renderWithHooks (..\node_modules\react-dom\cjs\react-dom.development.js:16241)
at mountIndeterminateComponent (..\node_modules\react-dom\cjs\react-dom.development.js:18775)
at beginWork$1 (..\node_modules\react-dom\cjs\react-dom.development.js:20137)
at HTMLUnknownElement.callCallback (..\node_modules\react-dom\cjs\react-dom.development.js:336)
at Object.invokeGuardedCallbackDev (..\node_modules\react-dom\cjs\react-dom.development.js:385)
at invokeGuardedCallback (..\node_modules\react-dom\cjs\react-dom.development.js:440)
at beginWork$$1 (..\node_modules\react-dom\cjs\react-dom.development.js:25738)
at performUnitOfWork (..\node_modules\react-dom\cjs\react-dom.development.js:24662)
..\node_modules\react-dom\cjs\react-dom.development.js:21810 The above error occurred in the component:
in SearchParams (created by App)
in div (created by App)
in StrictMode (created by App)
in App
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
logCapturedError @ ..\node_modules\react-dom\cjs\react-dom.development.js:21810
..\node_modules\react-dom\cjs\react-dom.development.js:25164 Uncaught ReferenceError: regeneratorRuntime is not defined
at SearchParams.js:6
at SearchParams (SearchParams.js:6)
at renderWithHooks (..\node_modules\react-dom\cjs\react-dom.development.js:16241)
at mountIndeterminateComponent (..\node_modules\react-dom\cjs\react-dom.development.js:18775)
at beginWork$1 (..\node_modules\react-dom\cjs\react-dom.development.js:20137)
at HTMLUnknownElement.callCallback (..\node_modules\react-dom\cjs\react-dom.development.js:336)
at Object.invokeGuardedCallbackDev (..\node_modules\react-dom\cjs\react-dom.development.js:385)
at invokeGuardedCallback (..\node_modules\react-dom\cjs\react-dom.development.js:440)
at beginWork$$1 (..\node_modules\react-dom\cjs\react-dom.development.js:25738)
at performUnitOfWork (..\node_modules\react-dom\cjs\react-dom.development.js:24662)
from complete-intro-to-react-v5.
I don't exactly feel ok with all the vulnerabilities though. Is there any other way to make this work? I don't think downgrading a plugin should be an actual fix.
Also after the downgrade my entire selection block is gone. I don't think that'll fix it for me.I resolved this by adding
import "babel-polyfill"
orimport "regenerator-runtime/runtime"
on the SearchParam.js. Hope that worked for you.
This worked! Thank you! No more errors and I can finally continue my course.
from complete-intro-to-react-v5.
from complete-intro-to-react-v5.
I removed Opera mobile support, and change my .babelrc
file to
{ "presets": ["@babel/preset-react", "@babel/preset-env"], "plugins": [ "@babel/plugin-proposal-class-properties", "@babel/plugin-transform-runtime" ] }
and the error stopped showing on the console but Pet details are not render on screen.
Please what should I do now?
from complete-intro-to-react-v5.
Okay, this #58 fixed it.
Thanks @1Marc
from complete-intro-to-react-v5.
Related Issues (20)
- A few issues with Atom text editor (don't laugh, some people still use Atom..lol) HOT 1
- Breeds data not fetched, error to get the breeds from the @front end masters api HOT 2
- useEffect error: Maximum update depth exceeded HOT 1
- The API is abandonned ? HOT 1
- Mapping not rendering img tag. HOT 6
- Reference to non-existent file "script.js" instead of "App.js"
- Step missing: npm run dev HOT 1
- first example - h1 text not visible due to css HOT 1
- npm install error HOT 1
- Modal, create Portal
- Input components lose focus in custom hooks HOT 2
- Parcel and emotion.js error HOT 2
- NOTE: Parcel bundler Invalid Version HOT 2
- Error when Parcel uses Babel to translate async/await calls HOT 1
- public state objects showing "Parsing error: Unexpected token" in Typescript
- Uncaught Error: seed(S) must take numeric argument; is string
- .prettierrc and .eslintrc.json not working HOT 1
- Uncaught TypeError: (0 , _popmotion.value) is not a function
- Error handling response: TypeError: Cannot read property 'length' of undefined
- HTTP Error after buliding with parcel and deploying to production(Netlify)
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 complete-intro-to-react-v5.