Giter Club home page Giter Club logo

Comments (14)

stormwatch avatar stormwatch commented on July 3, 2024 3

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.

maschinentempel avatar maschinentempel commented on July 3, 2024 1

Same issue here. Setting parcel-bundler to 1.9.7 didn't work for me too.

from complete-intro-to-react-v5.

GabrielVlado avatar GabrielVlado commented on July 3, 2024 1

Same issue here. Setting parcel-bundler to 1.9.7 didn't work for me too.

@maschinentempel

I resolve the problem with this comand ' npm install -D [email protected] '

from complete-intro-to-react-v5.

csisoap avatar csisoap commented on July 3, 2024 1

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.

noerojas avatar noerojas commented on July 3, 2024

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.

 avatar commented on July 3, 2024

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.

maschinentempel avatar maschinentempel commented on July 3, 2024

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.

huynhthetong280619 avatar huynhthetong280619 commented on July 3, 2024

Mr.BrianHolt give me some solution to resolve this problem

from complete-intro-to-react-v5.

citroenboter avatar citroenboter commented on July 3, 2024

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.

citroenboter avatar citroenboter commented on July 3, 2024

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.

citroenboter avatar citroenboter commented on July 3, 2024

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.

This worked! Thank you! No more errors and I can finally continue my course.

from complete-intro-to-react-v5.

huynhthetong280619 avatar huynhthetong280619 commented on July 3, 2024

from complete-intro-to-react-v5.

dewaleolaoye avatar dewaleolaoye commented on July 3, 2024

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.

dewaleolaoye avatar dewaleolaoye commented on July 3, 2024

Okay, this #58 fixed it.
Thanks @1Marc

from complete-intro-to-react-v5.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.