JPMorgan-Chase-Virtual-Internship icon indicating copy to clipboard operation
JPMorgan-Chase-Virtual-Internship copied to clipboard

Having issue in TASK 2

Open imbhuvi08 opened this issue 4 years ago • 30 comments

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?

imbhuvi08 avatar May 25 '20 09:05 imbhuvi08

Yes. Please share some screenshots of the error.

chandrikadeb7 avatar May 25 '20 13:05 chandrikadeb7

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 avatar May 27 '20 18:05 neelesh259

@neelesh259 Run npm install in the Task folder of JPMC. If the node modules aren't correct download them from the troubleshooting slide.

chandrikadeb7 avatar May 27 '20 18:05 chandrikadeb7

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?

neelesh259 avatar May 27 '20 18:05 neelesh259

Then you please manually download it to the directory of your task folder and then run directly ' npm start ' .

Mr-garg avatar May 28 '20 08:05 Mr-garg

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

rammohanreddy3149 avatar May 29 '20 01:05 rammohanreddy3149

@neelesh259 Please remove the package.json and package-lock.json files. And then run npm install and npm start

chandrikadeb7 avatar May 29 '20 04:05 chandrikadeb7

@rammohanreddy3149 I did my tasks in Mac environment with VS Code 2019.

chandrikadeb7 avatar May 29 '20 04:05 chandrikadeb7

@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.

neelesh259 avatar May 30 '20 21:05 neelesh259

how to check the graph ?

ayuyaduvanshi avatar Jun 01 '20 16:06 ayuyaduvanshi

@neelesh259 I am still getting the same error you got, how did you resolve it?

yashdani avatar Jun 02 '20 10:06 yashdani

@yashdani Make sure you set up the server terminal first and keep that running. Two things:-

  1. 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.)

  2. 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.

neelesh259 avatar Jun 02 '20 11:06 neelesh259

Screenshot 2020-06-02 at 4 48 30 PM Screenshot 2020-06-02 at 4 48 26 PM Why am I getting error in this, what should I do? @neelesh259

ayuyaduvanshi avatar Jun 02 '20 11:06 ayuyaduvanshi

@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.

neelesh259 avatar Jun 02 '20 11:06 neelesh259

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? Task-2ss1

iathmika avatar Jun 02 '20 11:06 iathmika

@neelesh259 I followed the second path and still ending up with this error! error_Task2

sanskar111100 avatar Jun 07 '20 07:06 sanskar111100

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 ?

imbhuvi08 avatar Jun 12 '20 11:06 imbhuvi08

1 2 I did everything as discussed above. Tried it both in python 3 and 2 versions but have a bunch of errors. I have attached the images please check and help. If there is a direct link and instructions for the node modules please attach here. I have been stuck for hours now. Please help. Thank you

SarveshMohan89 avatar Jun 29 '20 13:06 SarveshMohan89

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

israrhusain5892 avatar Aug 26 '21 17:08 israrhusain5892

Hi , i am facing this error again and again how can i resolve this. WhatsApp Image 2022-02-10 at 5 49 21 PM @chandrikadeb7 .

YASHGOEL0616 avatar Feb 10 '22 12:02 YASHGOEL0616

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 ) .

image

khushiBiyani avatar May 31 '22 06:05 khushiBiyani

Screenshot (26)

Vamsi293 avatar Jul 31 '22 20:07 Vamsi293

solution?

Vamsi293 avatar Jul 31 '22 20:07 Vamsi293

@neelesh259 I am getting an errors Screenshot (29) running the below commands could you please help me out

venkypemmadi123 avatar Aug 07 '22 17:08 venkypemmadi123

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>

Vamsi293 avatar Aug 08 '22 03:08 Vamsi293

i am also facing the same issue since last 2 days ? please help us

akshmangal005 avatar Sep 13 '22 13:09 akshmangal005

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? Task-2ss1

please give me that solution how you did that

PROTOX11 avatar Dec 16 '23 09:12 PROTOX11

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>

Vamsi293 avatar Dec 16 '23 13:12 Vamsi293

hi, not able to submit files, as there are 2 typescript files, getting file type error. image thanks in advance

seemaPatl avatar Jun 17 '24 09:06 seemaPatl

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.

bakshish152 avatar Sep 15 '24 19:09 bakshish152