Skip to content
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

Having issue in TASK 2 #4

Open
imbhuvi08 opened this issue May 25, 2020 · 29 comments
Open

Having issue in TASK 2 #4

imbhuvi08 opened this issue May 25, 2020 · 29 comments
Labels
help wanted Extra attention is needed

Comments

@imbhuvi08
Copy link

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?

@chandrikadeb7
Copy link
Owner

Yes. Please share some screenshots of the error.

@neelesh259
Copy link

neelesh259 commented May 27, 2020

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?

@chandrikadeb7
Copy link
Owner

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

@neelesh259
Copy link

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?

@Mr-garg
Copy link

Mr-garg commented May 28, 2020

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

@rammohanreddy3149
Copy link

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

@chandrikadeb7
Copy link
Owner

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

@chandrikadeb7
Copy link
Owner

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

@chandrikadeb7 chandrikadeb7 added the help wanted Extra attention is needed label May 29, 2020
@neelesh259
Copy link

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

@ayuyaduvanshi
Copy link

how to check the graph ?

@yashdani
Copy link

yashdani commented Jun 2, 2020

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

@neelesh259
Copy link

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

@ayuyaduvanshi
Copy link

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

@neelesh259
Copy link

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

@iathmika
Copy link

iathmika commented Jun 2, 2020

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

@sanskar111100
Copy link

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

@imbhuvi08
Copy link
Author

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 ?

@SarveshMohan89
Copy link

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

@israrhusain5892
Copy link

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

@YASHGOEL0616
Copy link

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 .

@khushiBiyani
Copy link

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

@Vamsi293
Copy link

Screenshot (26)

@Vamsi293
Copy link

solution?

@venkypemmadi123
Copy link

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

@Vamsi293
Copy link

Vamsi293 commented Aug 8, 2022 via email

@akshmangal005
Copy link

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

@PROTOX11
Copy link

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

@Vamsi293
Copy link

Vamsi293 commented Dec 16, 2023 via email

@seemaPatl
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests