Code Monkey home page Code Monkey logo

Comments (5)

DaanDeMeyer avatar DaanDeMeyer commented on June 11, 2024

I'll take a look. I had no idea it was actually being used.

from h2vis.

DaanDeMeyer avatar DaanDeMeyer commented on June 11, 2024

I don't get any build errors on my machine. You could try setting fixed versions of the react and react-dom types in package.json to see if that helps.

from h2vis.

andydavies avatar andydavies commented on June 11, 2024

Thx

I managed to over come the react issues by removing the duplicate react types under react-dom

Iā€™m now into working through a bunch of type errors in the tshark code but away for the weekend will pick it up again on Monday

Someone else I know cloned the repo and tried building but ran into the same problems I had

from h2vis.

DaanDeMeyer avatar DaanDeMeyer commented on June 11, 2024

You could try using yarn instead of npm since there's a yarn.lock file in the repository. That should make sure we're using the same versions of each package.

from h2vis.

andydavies avatar andydavies commented on June 11, 2024

Ok, builds using yarn but not npm

Once the duplicate react types are removed then it appears the NPM build runs into some TS changes that prevent the build from working e.g.

ERROR in [at-loader] ./src/tshark/index.ts:26:30
    TS2345: Argument of type 'ParsedPath | undefined' is not assignable to parameter of type 'ParsedPath'.
  Type 'undefined' is not assignable to type 'ParsedPath'.

ERROR in [at-loader] ./src/website/components/App/PriorityTreePage/index.tsx:38:5
    TS2564: Property 'priorityTreeSvg' has no initializer and is not definitely assigned in the constructor.

ERROR in [at-loader] ./src/website/components/App/PriorityTreePage/index.tsx:111:25
    TS2326: Types of property 'onChange' are incompatible.
  Type '(connection: Http2Connection) => void' is not assignable to type '(connection: Connection) => void'.
    Types of parameters 'connection' and 'connection' are incompatible.
      Type 'Connection' is not assignable to type 'Http2Connection'.
        Type 'Http1Connection' is not assignable to type 'Http2Connection'.
          Types of property 'protocol' are incompatible.
            Type 'ConnectionProtocol.HTTP1' is not assignable to type 'ConnectionProtocol.HTTP2'.

...

I'll try to take a look at them a bit later

from h2vis.

Related Issues (2)

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.