Open Gauravkumar29 opened 4 years ago
Did you run python datafeed/server3.py simultaneously in another cmd?
no i run this on one cmd and in other cmd I run npm start cmnd
Did you try npm i caniuse-lite browserslist and the npm update caniuse-lite browserslist
i try npm update caniuse-lite browserlist cmnd but nothing happened . i think there is some fie missing in module
Download the npm_module zip folder from the link in instructions and replace it in your folder. then try.
but the error shown in cmd is in src file in Graph.tsx
i am stuck here from last 2 days pls advice me smthng to figure it out
@Gauravkumar29 go through pull requests in the repository, you will find solution to your problem. Actually problem is with the perspective.
In graph.src change import { Table } from '@jpmorganchase/perspective'; to import { Table } from '@finos/perspective';
In graph.src change import { Table } from '@jpmorganchase/perspective'; to import { Table } from '@finos/perspective';
@Kam149 This does not work
@tejasramramesh Now, what is the error?
C:/Users/tejas/JPMC-tech-task-2-PY3/src/Graph.tsx Type error: Cannot find module '@jpmorganchase/perspective'. TS2307
1 | import React, { Component } from 'react';
2 | import { Table } from '@jpmorganchase/perspective'; | ^ 3 | import { ServerRespond } from './DataStreamer'; 4 | import './Graph.css'; 5 |
@Kam149
@Kam149 even after replacing the line you told with the solution you gave it told me this line was missing : import { Table } from '@jpmorganchase/perspective';
Actually I got the same error but it was solved by replacing @jpmorganchase with @finos. It might be possible that some packages might not get installed at the time of npm install?? Because ultimately it's giving import error only.
replacing is not wrking same error
@Kam149 this error is with the files of node_module they gave as an download option. Its an external dependency so i dont know why the error occured
@tejasramramesh Go through the methods given in this link and if you get stuck somewhere in these methods you can then ask me.. https://github.com/insidesherpa/JPMC-tech-task-2-PY3/pull/5/files I think this will help you..
@tejasramramesh Go through the methods given in this link and if you get stuck somewhere in these methods you can then ask me.. https://github.com/insidesherpa/JPMC-tech-task-2-PY3/pull/5/files I think this will help you..
Thanks a lot!
Happy to help you..
i install the npm and after running npm start command I figure some file missing error pls check it