-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
type error: Cannot find module '@jpmorganchase/perspective'. TS2307 #47
Comments
tanay what errrors are u having because im also facing the same problem |
@rohit270699 I am facing Type Error : TS2307 |
Guys, you need to start server. run |
@tanay-nagarsheth this package has been moved to @finos/perspective |
@Sarthakkathuria Making those changes haven't fixed the problem. It says cannot find module @finos/perspective |
@TheYk98 Started the server. It runs without any issues. Then when we run npm start, we get the error. |
@Ayaanmoh try deleting node_modules and replace with the node_modules folder(link in the doc) in the path. If you've tried that too, I'm not sure what's wrong |
I have tried replacing. after that npm start fails to start the server. I will try shifting to Windows for this task. |
@Ayaanmoh check this |
@Sarthakkathuria tried to install finos as well. But it gave me the same error. i performed this on a virtual mac machine and it worked. |
Even i am getting TS2307 |
I am also facing this issue, anyone got the solution? |
Change Line 2 of src/Graph.tsx to: |
I also faced this issue yesterday, but I noticed that the actual problem that I have is a different version of node and npm. so, I downgrade it to the version to what mentioned in the setup pdf document(for windows) |
@Sarthakkathuria did you got the solution i am also facing same issue?please help |
@tanay-nagarsheth did you got solution please help i am also facing same issue |
@shivansh49 yes , using nvm 11.0.0 solves the problem. make sure you are executing these commands first. |
@Nims972 thanks a lot it works for me |
Originally posted by @SHREYASH-MUKESH in #72 (comment) |
If anyone has any problem and is stuck anywhere, I have made a repo of my submitted files. Kindly have a look: |
delete package-log.js file then |
I am facing a similar problem. Has anybody figured out the exact solution to this? |
|
for this error
2.if you have greater version than v11.0.0 then this will install the required files in your project directory import { Table } from '@jpmorganchase/perspective'; with this below code import { Table } from '@finos/perspective'; |
It worked perfectly for me. Thanks @ikshitjalan |
in JPMC-tech-task-2-PY3\src\ Graph.tsx
|
if you find more issues than you can simply make changes in the code and
submit. They will send you accurate solution if you have made mistakes. You
can ask on Whatsapp 7277921877
…On Sun, Jun 14, 2020 at 2:44 AM arushichoudhary ***@***.***> wrote:
@Nikhilvish04 <https://github.com/Nikhilvish04>
After trying all steps i am getting this new error.
[image: error]
<https://user-images.githubusercontent.com/38611829/84579104-d83b3c00-ade8-11ea-8c38-c5ac1d1944cc.PNG>
can u please help.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL7YV4CJTOJHBAXWBNLOUGTRWPT4DANCNFSM4MQVWAVQ>
.
|
That's good.
…On Sun, Jun 14, 2020 at 7:45 PM arushichoudhary ***@***.***> wrote:
@Nikhilvish04 <https://github.com/Nikhilvish04>
After trying all steps i am getting this new error.
[image: error]
<https://user-images.githubusercontent.com/38611829/84579104-d83b3c00-ade8-11ea-8c38-c5ac1d1944cc.PNG>
can u please help.
I deleted package-lock file and then repeated the steps by @Nikhilvish04
<https://github.com/Nikhilvish04> .It worked.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL7YV4FWM54FZ4JF3OF7BBTRWTLQ3ANCNFSM4MQVWAVQ>
.
|
Guys try this : Open new Terminal and type ' npm i --save @finos/perspective-viewer ' |
Thanks bro |
check your npm version using npm --version and if not installed latest
version try to reinstall and install again.then change in graph.txt file.
import { Table } from '@jpmorganchase/perspective';
with this below code
import { Table } from '@finos/perspective';
…On Sun, Aug 23, 2020 at 1:05 AM Mohit_Gupta ***@***.***> wrote:
[image: image]
<https://user-images.githubusercontent.com/52665879/90964269-a0353100-e4dc-11ea-8860-9a626594c58f.png>
can anyone help me out with this issue??
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL7YV4GCPAVKQFJTLAHONSTSCAMYLANCNFSM4MQVWAVQ>
.
|
what I did to solve this issue is
|
If you're trying to download via @finos/perspective to solve the issues, you might just run into more issues with the dependencies. Usually, the problems for npm install regarding this setup is one or all of the three below: If you're in a mac environment experiencing this problem, there could be a few areas of conflict
|
@preyalameta02 In the error it is showing that react keyword is not recognized by the compiler. That's why it's giving this error. you have to import react module. If you have imported then check if modules are correctly installed or not. Deleted the package-lock.json file & then run
still face the issue than try to debug with below page |
thanks man, will try this out, really appreciate it |
YES THIS!! WORKED! THANK YOU!!! |
and for windows? |
@jpmorganchase/perspective is working on windows.
Try again by importing code from another repository.
…On Sun, 30 Jan, 2022, 2:15 pm Aniketh Paul, ***@***.***> wrote:
Change Line 2 of src/Graph.tsx to: import { Table } from
***@***.***/perspective'; For Mac environment.
and for windows?
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AS5ZJQEKP6CGT47I3VAJI6TUYT3BZANCNFSM4MQVWAVQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
ok cool |
So I encountered a similar problem and it was due to Just check if python is present in your machine or not by exceuting
Everything worked fine after I did this. If it still does not solve the problem then the above approaches might be of help :) The first step is to run the server file, |
whoever still stuck and couldnt find any solution, try this, it worked for me, hope it works for u... once you are there do: Finally Run the main script: npm start This should work.... mainly for python3++ |
@akalam1 I am facing a similar issue with task 3. After installing the finos and all.I am facing an error with the DataManipulator imported. Did you encounter this? |
What worked for me is entering this all at once: |
Great! |
Type error: Argument of type 'Row[]' is not assignable to parameter of type 'TableData'.
Getting this error which I'm not able to resolve. Can you help. |
This is the exact problem I experienced. Install npm via the node js route not nvm. And do not replace @jpmorganchase perspective with @finos for task 3. Goodluck! |
How to install npm via the node js route? |
It says package-lock.json file was created with an old version of npm. npm WARN old lockfile |
Appears that jpmorganchase/perspective is missing (copy link urls and paste in browser) Page 20 for more: |
what is the error sir, please help, this error has been breaking my head since a long time now
The text was updated successfully, but these errors were encountered: