Open ShresthSrivastava opened 4 years ago
1 | import React, { Component } from 'react';
2 | import { Table } from '@jpmorganchase/perspective'; | ^ 3 | import { ServerRespond } from './DataStreamer'; 4 | import './Graph.css'; 5 |
Change "@jpmorganchase/perspective" to "@finos/perspective" in Graph.tsx and "npm install @finos/perspective --save" in terminal and then "npm start"
1 | import React, { Component } from 'react';
2 | import { Table } from '@jpmorganchase/perspective'; | ^ 3 | import { ServerRespond } from './DataStreamer'; 4 | import './Graph.css'; 5 |
Change "@jpmorganchase/perspective" to "@finos/perspective" in Graph.tsx and "npm install @finos/perspective --save" in terminal and then "npm start"
This error is coming when I did this above solution! ./src/index.tsx Module not found: Can't resolve 'react' in 'F:\J.P. Morgan Internship\JPMC-tech-task-2-PY3\src'
Check #386 It worked for me.
1 | import React, { Component } from 'react';
2 | import { Table } from '@jpmorganchase/perspective'; | ^ 3 | import { ServerRespond } from './DataStreamer'; 4 | import './Graph.css'; 5 |
Change "@jpmorganchase/perspective" to "@finos/perspective" in Graph.tsx and "npm install @finos/perspective --save" in terminal and then "npm start"
This error is coming when I did this above solution! ./src/index.tsx Module not found: Can't resolve 'react' in 'F:\J.P. Morgan Internship\JPMC-tech-task-2-PY3\src'
Check if react is correctly installed or not
Run following commands, it worked for me npm install npm install --ignore-scripts npm audit fix npm start
I can't find datamanipulator.ts file
is datastreamer.ts the same file? if it's the same file than the content is somewhat different from the snippet present in the guide.
download node modules from here and replace it with your local repository https://drive.google.com/file/d/1ML6nECK18J0jM3hhfJdSCRtCNLssruYQ/view it will work
I have the few suggestions you have made but I am still experiencing problems with the 'Set Up' for task 3, can anybody help?
I am using a mac.
1 | import React, { Component } from 'react';