insidesherpa / JPMC-tech-task-2-PY3

29 stars 350 forks source link

Failed to compile: Cannot find module '@jpmorganchase/perspective' #454

Open EllenMichael opened 4 years ago

EllenMichael commented 4 years ago

Copied the error below, some of the formatting has changed, can't seem to fix it.

Failed to compile 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';

YudhishGautam commented 4 years ago

Same issue 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 |

lolverae commented 3 years ago

I found this series of commands from issue #386 and it worked for me !

npm install npm install --ignore-scripts npm audit fix npm start