Open radadiyamohit81 opened 4 years ago
im still get the same error even when i change it
/Users/harsimranjeetsingh/jpmorgan/JPMC-tech-task-2-PY3/src/Graph.tsx Type error: Cannot find module '@finos/perspective'. TS2307
1 | import React, { Component } from 'react';
2 | import { Table } from '@finos/perspective'; | ^ 3 | import { ServerRespond } from './DataStreamer'; 4 | import './Graph.css'; 5 |
got it, this only works for mac but try downloading this https://drive.google.com/file/d/1amF7C-4mRZCi3Ab5xuH0XCRQubp4aa_t/view it on the slides and then go into the directory and delete the old node_modules and put in the new ones. That fixed my errors
Those who have this type of error Guys believe me its resolve if you apply below steps:- Steps: 1) first goto "src/Graph.tsx" 2) open that file in editor. 3) edit the import line like "import { Table } from '@finos/perspective';" (Not include double quote). 4) Save 5) Run using "npm start".
Stay Happy & Happy Coding.