Comments (5)
I'll take a look. I had no idea it was actually being used.
from h2vis.
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.
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.
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.
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)
- `yarn run dev` Error 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 h2vis.