JPMorgan-Chase-Virtual-Internship
JPMorgan-Chase-Virtual-Internship copied to clipboard
Having issue in TASK 2
Hello I'm Bhuvnesh Shingadia and I'm facing some issues with task 2 need your help to clear it, can you please help me with that?
Yes. Please share some screenshots of the error.
Hey, I am facing issues in task 2 as well. The command npm install, on Windows command prompt does not seem to be working. I think it has something to do with the package.json file. Can you please tell me how exactly am I supposed to do the npm install? In which directory should we be in, to run the npm install command on the command prompt?
@neelesh259 Run npm install in the Task folder of JPMC. If the node modules aren't correct download them from the troubleshooting slide.
Thanks for the quick reply. Yes I did run npm install in the JPMC directory, but it resulted in a lot of gyp errors. Attaching a screenshot down below. (https://user-images.githubusercontent.com/43501814/83060503-2fb37b00-a079-11ea-97e9-71fdb6e19e04.jpeg) Does this indicate problems with the node modules?
Then you please manually download it to the directory of your task folder and then run directly ' npm start ' .
Hey, I too stucked in task2. the errors are same as shown above @neelesh259 . But I have a doubt whether we need to install exactly the same version that is Visual studio 2017? Or else 2019 is fine? @chandrikadeb7 . Hope you'll answer. Thank You
@neelesh259 Please remove the package.json and package-lock.json files. And then run npm install
and npm start
@rammohanreddy3149 I did my tasks in Mac environment with VS Code 2019.
@chandrikadeb7 Thanks for the help. Rectified it finally. @Mr-garg Yes, what you said worked like a charm. @rammohanreddy3149 node-gyp has compatibility issues with Python3. If you want to run the npm command, install Python2 and add its path to the environment variables (Follow the given guide). Download the build tools of Visual Studio 2017 and set npm config to the 2017 version.Then run npm install and it may work, but if you still aren't able to troubleshoot errors, just download the npm modules from the link in the slides, directly into the JPMC-task-2/3 directory and don't run npm install. Just run npm start. The server terminal must run in parallel too.
how to check the graph ?
@neelesh259 I am still getting the same error you got, how did you resolve it?
@yashdani Make sure you set up the server terminal first and keep that running. Two things:-
-
If you've got Python3, chances are you can't make this work. So download Python2 and add its path to the environment variables. (This is if you want to run npm install as node-gyp only works with Python 2.7.x versions.)
-
The simpler way is to go to the last slide of troubleshooting under npm install errors, where there is a link to download node modules. Download these node modules and directly place them into the JPMC-task-2/3 directory. Now open a fresh terminal, get into the JPMC directory and run npm start (donot run npm install) . Disable firewall when it asks you to, and thus your client-server connection is established.


@ayuyaduvanshi These are the two files that you need to edit, on a text editor like Sublime Text or any text editor that you have got. Errors arise if you donot make the right changes, as shown in the pictures in the guide. Proof read your code once again while comparing it with the code changes in the slides. Indentation has to be maintained. Cross - verify if everything is correct. Save changes and that'll appear in the front end.
After setting up the code on the machine, I get the front-end as given in their screenshots but when I click the "Start streaming data" button, nothing happens. It says "localhost is not responding due to long running script". I even tried it chrome, and still nothing. Any idea why this is happening?
@neelesh259 I followed the second path and still ending up with this error!
Thanks you for your help actually I was ill from last two weeks now I have got back to my work all these questions was mine too thank you for the solotion... I have successfully completed my virtual program do we also need to upload the solution and the questions like you mam ?
Hello I'm Bhuvnesh Shingadia and I'm facing some issues with task 2 need your help to clear it, can you please help me with that?
hi
Hi , i am facing this error again and again how can i resolve this.
@chandrikadeb7 .
Hello I'm Khushi and I'm facing some issues with task 2 need your help to clear it, can you please help me with that? I am getting an error in line 36 in the below attached picture ( as unknown as ) .
solution?
@neelesh259 I am getting an errors
running the below commands could you please help me out
I'm sorry, I didn't find any solution to solve those errors.
On Sun, 7 Aug 2022, 22:36 venkypemmadi123, @.***> wrote:
@neelesh259 https://github.com/neelesh259 I am getting an errors [image: Screenshot (29)] https://user-images.githubusercontent.com/110441331/183302602-c9703577-c743-47ff-948e-d8a874ab549e.png running the below commands could you please help me out
— Reply to this email directly, view it on GitHub https://github.com/chandrikadeb7/JPMorgan-Chase-Virtual-Internship/issues/4#issuecomment-1207447793, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVPXE6HA66LP4HXFWBFTCJ3VX7UJTANCNFSM4NJLQ4PQ . You are receiving this because you commented.Message ID: <chandrikadeb7/JPMorgan-Chase-Virtual-Internship/issues/4/1207447793@ github.com>
i am also facing the same issue since last 2 days ? please help us
After setting up the code on the machine, I get the front-end as given in their screenshots but when I click the "Start streaming data" button, nothing happens. It says "localhost is not responding due to long running script". I even tried it chrome, and still nothing. Any idea why this is happening?
please give me that solution how you did that
Sorry! No idea.
On Sat, Dec 16, 2023 at 2:47 PM Prakash kumar @.***> wrote:
After setting up the code on the machine, I get the front-end as given in their screenshots but when I click the "Start streaming data" button, nothing happens. It says "localhost is not responding due to long running script". I even tried it chrome, and still nothing. Any idea why this is happening? [image: Task-2ss1] https://user-images.githubusercontent.com/44125654/83515360-dae98780-a4f2-11ea-84b5-8a4b92adc629.PNG
please give me that solution how you did that
— Reply to this email directly, view it on GitHub https://github.com/chandrikadeb7/JPMorgan-Chase-Virtual-Internship/issues/4#issuecomment-1858770735, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVPXE6DWAZXANCK44LCEG6LYJVRMFAVCNFSM4NJLQ4P2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBVHA3TOMBXGM2Q . You are receiving this because you commented.Message ID: <chandrikadeb7/JPMorgan-Chase-Virtual-Internship/issues/4/1858770735@ github.com>
hi, not able to submit files, as there are 2 typescript files, getting file type error.
thanks in advance
hi i am facing an error it says × SyntaxError: Unexpected end of JSON input request.onload src/DataStreamer.ts:31 28 | 29 | request.onload = () => { 30 | if (request.status === 200) {
31 | callback(JSON.parse(request.responseText)); | ^ 32 | } else { 33 | alert ('Request failed'); 34 | } View compiled This screen is visible only in development. It will not appear if the app crashes in production. Open your browser’s developer console to further inspect this error. it specifically highlights line 31. if somebody could help that would be great.