insidesherpa / JPMC-tech-task-2

29 stars 201 forks source link

perspective not found #296

Closed sultanmalik04 closed 3 years ago

sultanmalik04 commented 4 years ago
C:/Users/DELL/Desktop/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';
khelali commented 4 years ago

How did you solve this?

sultanmalik04 commented 4 years ago

I have done all the things systematically but while running "npm install" get the attached outcome.... can you help solving this?

On Wed, 9 Sep 2020 at 01:29, khelali notifications@github.com wrote:

How did you solve this?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/insidesherpa/JPMC-tech-task-2/issues/296#issuecomment-689104250, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALPCTSR67ADZLAAINXEBFTLSE2EJHANCNFSM4Q4LY7BQ .

khelali commented 4 years ago

Turns out, you just have to download the node_modules folder they have provided at the end of their troubleshooting slides. https://drive.google.com/file/d/1amF7C-4mRZCi3Ab5xuH0XCRQubp4aa_t/view Also, the problem has already been posted and solved at least once in this forum.

khelali commented 4 years ago

Once downloaded and expanded, you should replace the folder you already have in the task folder by this one. It will work instantly!

sultanmalik04 commented 4 years ago

didn't worked.....

On Wed, 9 Sep 2020 at 14:05, khelali notifications@github.com wrote:

Turns out, you just have to download the node_modules folder they have provided at the end of their troubleshooting slides. https://drive.google.com/file/d/1amF7C-4mRZCi3Ab5xuH0XCRQubp4aa_t/view Also, the problem has already been posted and solved at least once in this forum.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/insidesherpa/JPMC-tech-task-2/issues/296#issuecomment-689416022, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALPCTSRN5WJSIR46GKCWPUDSE445DANCNFSM4Q4LY7BQ .

khelali commented 4 years ago

If you're losing hope, one radical way to solve this would be to delete whatever you have now and clone the repository again and restart from scratch.. you might have messed up something while fixing npm install issues. I did it and it worked.

AmberSRP commented 4 years ago

hi, let me know if you're still having problem because i have a solution. have a nice day.

sultanmalik04 commented 3 years ago

Yes i messed everything during setup... I am starting again from scratch can you help me....??

On Sat, 12 Sep, 2020, 23:28 AmberSRP, notifications@github.com wrote:

hi, let me know if you're still having problem because i have a solution. have a nice day.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/insidesherpa/JPMC-tech-task-2/issues/296#issuecomment-691524617, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALPCTSTGJ57MZ3FRINJ463TSFOZGFANCNFSM4Q4LY7BQ .

AmberSRP commented 3 years ago

It will be my pleasure! So Could you tell me what steps have you done until now, so I can understand your situation?

sultanmalik04 commented 3 years ago

my server is running successfully, now i have to setup node, npm, and nvm....

AmberSRP commented 3 years ago

Node version?

sultanmalik04 commented 3 years ago

I have to install v11.0.0 ... but before i have to setup nvm ...how should I do this...

AmberSRP commented 3 years ago

https://www.npmjs.com/get-npm https://codeburst.io/nvm-for-windows-how-to-install-and-use-13b7a4209791 Use second one for step by step procedure for installing Node Version Manager.

AmberSRP commented 3 years ago

https://github.com/coreybutler/nvm-windows You can download NVM from here.

sultanmalik04 commented 3 years ago

DONE...

sultanmalik04 commented 3 years ago

Now i have to setup node-gyp...

sultanmalik04 commented 3 years ago

i have installed visual studio build tools ... now i don't know the next step...

AmberSRP commented 3 years ago

Now, https://nodejs.org/dist/v11.14.0/node-v11.14.0-x86.msi Install this (Node + NPM)

AmberSRP commented 3 years ago

This is for 32- bit. If you have 64 then text me

AmberSRP commented 3 years ago

https://nodejs.org/dist/v11.14.0/node-v11.14.0-x64.msi This for 64-bit

sultanmalik04 commented 3 years ago

i have installed nvm and npm....

sultanmalik04 commented 3 years ago

jpmorgan1.png https://drive.google.com/file/d/1as4ysy0isiMZTExoOwtoveSzs111RK1t/view?usp=drivesdk

On Wed, 16 Sep, 2020, 12:32 AmberSRP, notifications@github.com wrote:

https://nodejs.org/dist/v11.14.0/node-v11.14.0-x64.msi This for 64-bit

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/insidesherpa/JPMC-tech-task-2/issues/296#issuecomment-693215477, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALPCTSRIDRKXGSSEXJGOC6LSGBPIFANCNFSM4Q4LY7BQ .

AmberSRP commented 3 years ago

So you have 64-bit! Nice! Now try npm install, and then npm start. Text me if it works.

sultanmalik04 commented 3 years ago

thank you very much.... WORKED...

AmberSRP commented 3 years ago

Well, now you can close this, as the issue is solved. Best of luck for your project.