Git Product home page Git Product logo

Comments (5)

EldRoos avatar EldRoos commented on June 17, 2024 1

Yes that fixed it. Thank you so much.

from react-components.

DanSallau avatar DanSallau commented on June 17, 2024

A quick peek into your package.josn shows that you are running an outdated version of this component.

image

Can you please update it like below.


npm uninstall @sebgroup/react-components
npm install @sebgroup/react-components@latest --save

Of course your react version too might require upgrade because the latest version requires support for hooks which i think your react version doesn't support . Please install react 16.8.6 and above . So basically, an upgrade to your dependecies and this module should fix your problem. Please let us know if you are having problem with the update :)

from react-components.

EldRoos avatar EldRoos commented on June 17, 2024

Ah of course, sorry I forgot to add that step. And yes project works on old version but not new.

  1. Change package.json "@sebgroup/react-components": "^1.1.0", to "^2.0.3".

Edit: Isn't "react": "^16.10.2" newer than 16.8.6?

from react-components.

DanSallau avatar DanSallau commented on June 17, 2024

@EldRoos my mistake :) . We cloned your project already and are looking into it.

from react-components.

omarVodiaK avatar omarVodiaK commented on June 17, 2024

@EldRoos we found the issue with the sourcemap, it is not related to react-components but related to parcel dependency
Adding this to your package.json should fix the error issue that you are facing

"start": "xcopy /y config-local.json dist\\ && parcel --no-source-maps index.html --port 6102",

You can read more about it in this url
According to Parcel a fix will be released in version 2.0, unfortunately you can't cherry pick the fix without creating complexity and inconsistency.

Please let us know if you still facing other issues after adding --no-source-maps

from react-components.

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.