Comments (7)
from jpmc-tech-task-2.
@sushilca98 you don't need to change anything in the server.py
file. All you need to do is run it alongside the client app.
Note, running the server is via the command python datafeed/server.py
. Do this in a separate command line and make sure you're running the command within the repository (i.e. your command line's present working directory is the repository). On a different command line, run the client via npm start
. (this is assuming you're command line is also in the repository and you've done npm install
already)
from jpmc-tech-task-2.
Hello Sir,
I tried the way you explained but when I run the command
C:\Users\sushi\JPMC-tech-task-2>python datafeed/server.py
Then it gives a response as
Traceback (most recent call last):
File "datafeed/server.py", line 26, in
import dateutil.parser
ImportError: No module named dateutil.parser
I also ran the separate command as
C:\WINDOWS\system32>cd\Users\sushi\JPMC-tech-task-2
C:\Users\sushi\JPMC-tech-task-2>npm start
Then I was able to go to Bank and Merge Co Task 2 but when I try to start streaming data it gives me same result as
NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://localhost:8080/query?id=1'
Please check the screenshot and help me to get the result.
from jpmc-tech-task-2.
Never mind....after lot of try I was able to fix this issue.
from jpmc-tech-task-2.
Never mind....after lot of try I was able to fix this issue.
Glad you were able to fix the issue @sushilca98 . The issue you encountered regarding running the server script is also discussed in the slides in the trouble shooting section for the OS you're using. This has something to do with installing the missing python package i.e. python date-util
via pip
from jpmc-tech-task-2.
Hello Sir,
I tried the way you explained but when I run the command
C:\Users\sushi\JPMC-tech-task-2>python datafeed/server.py
Then it gives a response as
Traceback (most recent call last):
File "datafeed/server.py", line 26, in
import dateutil.parser
ImportError: No module named dateutil.parserI also ran the separate command as
C:\WINDOWS\system32>cd\Users\sushi\JPMC-tech-task-2C:\Users\sushi\JPMC-tech-task-2>npm start
Then I was able to go to Bank and Merge Co Task 2 but when I try to start streaming data it gives me same result as
NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://localhost:8080/query?id=1'
Please check the screenshot and help me to get the result.
I am facing the exact same error right now....
I also have the dateuntil error when the server starts
I do not know how to solve it.
Can anyone help me at the earliest...?
@sushilca98 @jbf-insidesherpa
from jpmc-tech-task-2.
@sushilca98 you don't need to change anything in the
server.py
file. All you need to do is run it alongside the client app.Note, running the server is via the command
python datafeed/server.py
. Do this in a separate command line and make sure you're running the command within the repository (i.e. your command line's present working directory is the repository). On a different command line, run the client vianpm start
. (this is assuming you're command line is also in the repository and you've donenpm install
already)
Thank you very much @jbf-insidesherpa. I tried you suggestion and it started working
from jpmc-tech-task-2.
Related Issues (20)
- Failed to compile HOT 1
- Type error: Argument of type 'Row[]' is not assignable to parameter of type 'TableData'. : TS2345 HOT 1
- Cannot find module '@jpmorganchase/perspective'. TS2307 HOT 2
- Module not found: Can't resolve 'react HOT 1
- [email protected] install: `prebuild-install || node-gyp rebuild` && Node-gyp failed to build your package. HOT 1
- npm -v
- npm start issue
- regarding npm install
- Issue with entering command
- module generate_csv( )
- Stop Iteration Error
- NPM installation error HOT 2
- I have 78 vulnerabilities that need to be fixed and running npm audit fix (they need manual review) will not solve them. What should I do?
- npm start issue. found 12 high severity vulnerabilities run `npm audit fix` to fix them, or `npm audit` for details. But when i do audit fix it is asking us to manually solve them which i dont know. How to solve this error?
- NPM Installation. No prebuild binaries found $ global production windows installing is frozen HOT 1
- I'm getting this error in the first window within the Terminal: Traceback (most recent call last): File "datafeed/server3.py", line 26, in <module> import dateutil.parser ModuleNotFoundError: No module named 'dateutil'
- jp morgan task 2 software engiinnering virtual internship HOT 1
- Error installing npm on terminal
- I am having issue with cannot find module 'react-dom' or its corresponding type declarations
- Unsolvable Parsing error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jpmc-tech-task-2.