Giter Club home page Giter Club logo

jpmc-tech-task-2-py3's People

Contributors

jbf-insidesherpa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jpmc-tech-task-2-py3's Issues

Having trouble with npm start

Dear Team,
please help out, after i successfully execute npm start command i get the below message on my command screen, also i am unable to stream data as the url- localhost:3000 returns a similar error to that displayed on the command screen.
JPmorgan
JPmorgan2

Graph not showing

After editing both Graph and App files, when I click on streaming data the server receives the queries but the graph does not show at all.
JPMCtask21

npm start error

Hi, I am having a problem with npm start. I already followed the steps and downloaded the node module.

npm_eror

Cannot clone files from GitHub

"LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443"

This is the ere that I have when I try to clone from GitHub to MacOS.
I have this issue after updating git and stopping Kaspersky.

Can you help me with it?

Server won't start

bug
Server throwing up dateutil.parser error despite dateutil been installed

Different App.tsx

While editing the App.tsx code I realized that I have a different code than the one in the guide and now I do not know to properly edit it.
App JPMC

NPM start issue

Hi I receive the following issue when trying to NPM start
NPM Start
This is the output when I run NPM install:
NPM Install

And I have mapped the npm python command to python 2.7 as suggested in the installation instructions.
.

NPM Install failing because of node-gyp

I have followed all steps in the document to set up my environment for task 2 (asides installing NVM, I only updated my node and npm)
I have on python 3.8 installed on my system, I have uninstalled all versions of python, 2.7, 3.6, 3.7
I also have Visual Studio Build Tools installed according to the steps in the document.

However, when I try to run npm install, I get errors which point to node-gyp and bufferutil and prebuild-install packages.

Attached is a screenshot of the error
node-gyp-

Also, here are my node, npm, python versions
versions

Windows npm install issue

I am getting a bunch of errors when I try to install npm. Please help me, thanks. Attached are 2 screenshots
Untitled
Untitled2

Preexisting Visual Studio 2019 installation causes conflicts with environment setup

Hello,

It turns out that my preexisting install of Visual Studio 2019 was giving me issues when attempting 'npm install'. To be specific, I was getting:

"gyp ERR! stack Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\15.0\Bin\MSBuild.exe ENOENT"

I was able to solve the issue by following user joaocgreis' advice found here:
nodejs/node-gyp#1747

For whatever reason, 'npm config set msvs_version 2017' was not solving the issue.

I just wanted to bring this to your attention.

Thanks!

Web page freezes after clicking start streaming data

Hi there, my webpage just hangs when I click start streaming data, I'm currently using windows subsystem linux to compile npm install and npm start. when I click the start streaming data this shows on the terminal
image
and this shows in the web browser
image

npm start error

I keep getting this error from my MacBook Air. Any expert here has an answer to this?
Screen Shot 2020-03-19 at 12 09 02 PM

server3.py Error

When running the python3 server3.py command, I run into the following error:

(base) Shivas-MacBook-Pro-4:JPMC-tech-task-2-PY3 shiva$ python3 server3.py
python3: can't open file 'server3.py': [Errno 2] No such file or directory

Any help would be appreciated!

npm install says 0 vulnerabilities but npm start gives errors

I've attached screenshots for what happens when I execute 'npm install' and 'npm start'. 'npm install' provides a few warnings but says 0 vulnerabilities, and then 'npm start' says it cannot find a file somehow, even though I followed all the previous instructions exactly.
Screen Shot 2020-04-06 at 7 06 52 PM
Screen Shot 2020-04-06 at 7 07 12 PM

npm install error on windows

error

I already set environment variable for python using npm config set python /path/to/executable/python still failed.

Server Not Running: Type Error / ThreadedHTTPServer troubles

Can't Start the Server

Hello, I'm having issues with starting the server. When I run python3 server3.py it gives me the below terminal error. When I open the file on VSCode, it raises the bellow VSCode errors. How can I get the server runnning?

Terminal Error

Screen Shot 2020-03-17 at 1 07 00 PM

VSCode Error

Screen Shot 2020-03-17 at 1 11 58 PM

NPM warnings

Hi, I received the following warnings when running npm install. Is this ok to continue forward with? Thanks.

(jpmorganchase) $ npm install
npm WARN deprecated [email protected]: Way too old
npm WARN deprecated [email protected]: this package has been deprecated, just import modules from the highcharts folder
npm WARN deprecated [email protected]: core-js@<2.6.8 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit <https://github.com/lukeed/kleur/releases/tag/v3.0.0\> for migration path(s).
npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: use String.prototype.padStart()

> [email protected] install /<...>/JPMorganChase/JPMC-tech-task-2-PY3/node_modules/chokidar/node_modules/fsevents
> node install

node-pre-gyp WARN Using request for node-pre-gyp https download
[fsevents] Success: "/<...>/JPMorganChase/JPMC-tech-task-2-PY3/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" is installed via remote

> [email protected] install /<...>/JPMorganChase/JPMC-tech-task-2-PY3/node_modules/fsevents
> node install

[fsevents] Success: "<...>JPMorganChase/JPMC-tech-task-2-PY3/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile

> [email protected] install /<...>/JPMorganChase/JPMC-tech-task-2-PY3/node_modules/bufferutil
> prebuild-install || node-gyp rebuild


> [email protected] install /<...>/JPMorganChase/JPMC-tech-task-2-PY3/node_modules/puppeteer
> node install.js

Downloading Chromium r686378 - 110.2 Mb [====================] 100% 0.0s
Chromium downloaded to /<...>/JPMorganChase/JPMC-tech-task-2-PY3/node_modules/puppeteer/.local-chromium/mac-686378

> [email protected] postinstall /<...>/JPMorganChase/JPMC-tech-task-2-PY3/node_modules/core-js
> node postinstall || echo "ignore"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] requires a peer of [email protected] - 3 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of popper.js@^1.14.7 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of canvas@^2.5.0 but none is installed. You must install peer dependencies yourself.

added 2214 packages from 816 contributors and audited 39378 packages in 61.921s
found 68 vulnerabilities (63 low, 5 high)
  run `npm audit fix` to fix them, or `npm audit` for details

About my environment:

(jpmorganchase) $ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.14.6
BuildVersion:	18G103
(jpmorganchase) $ npm -v
6.9.0
(jpmorganchase) $ node -v
v10.16.2
(jpmorganchase) $ python --version
Python 3.6.9 :: Anaconda, Inc.

I'm using Anaconda to manage my Python environments. Switching to Python 3.7 gave me the same issues as described above.

Switching to Python 3.8, is also broken, but that gave me the same problem described in this comment:
#3 (comment)

Failed to compile on executing npm start

I am getting an error when I am trying to start the development server using command npm start.
It says Can't resolve 'react' in 'C:\Users\krnbd\JPMC-tech-task-2-PY3\src.
Although it redirects me to Bank & Merger Co webpage, there also I get the same error.

I restarted everything and encountered a new error on a command python datafeed/server3.py.
It says, ImportError: No module named dateutil.parser

Please help me in resolving these issues
Screenshot (277)
Screenshot (279)
Screenshot (278)

sudo npm install is getting errored on Linux (Ubuntu 18.04)

TASK 2

Below is the error thrown after running the sudo npm install command -
error: no matching function for call to โ€˜v8::Function::New(v8::Isolate&, void (&)(const v8::FunctionCallbackInfov8::Value&), v8::Localv8::Object&)โ€™, obj));*

Other technical details:

  1. I am working on the repository based on the Python 3 version. Successfully started the server application
    https://github.com/insidesherpa/JPMC-tech-task-2-PY3.git

  2. I have been able to follow all the local dev setup for Linux until the point of installing the node dependencies smoothly.

  3. after typing sudo npm install, I faced the above-mentioned error

Screenshot from 2020-04-05 02-11-22

Just wondering if I am required to tell npm (which calls node-gyp) which python version to use before npm install as below which is not present in the setup documents provided.
npm config set python python3

Please let me know if you need any other details. Thank you so much

npm install and start errors

I have a macOS Catalina, and as I tried to ran npm install I encountered the following issues after doing npm audit fix and npm start over and over again
Screen Shot 2020-04-10 at 3 21 22 AM
Screen Shot 2020-04-10 at 3 21 36 AM
Screen Shot 2020-04-10 at 3 21 47 AM
Screen Shot 2020-04-10 at 3 22 04 AM
there were just so many issues with npm install, and I thought it had to do with the fact that I was using a later version than the one in the task, but even after doing nvm use v11.0.0, nothing changed, I got the same errors

issue with server3.py not running

issue is on line 244 with self._sim_start. Its apparently a StopIteration error. not exactly sure why this is an issue, cause I looked at the code and it should work.

npm start error

npm start error

I have downloaded the node_modules folder and pasted it to the JPMC-tech-task-2-PY3 folder but I still get errors.
Please help.

npm install failed

This is what i have for the error after i typed "npm install" at the command line. I also tried to use different method to install npm but also failed.

image

image

Having trouble with npm install and npm start

This happens when I typed: npm install
Screenshot 2019-12-19 at 18 14 48
This happens when I typed: npm start:
Screenshot 2019-12-19 at 18 15 07

I am using Mac and also install python 2.7x and python 3.19 has already existed as I have anaconda. I tried to solve the problems but failed every time.

Unable to run Server

I keep getting this error whenever i try to run the server3.py
Traceback (most recent call last):
File "C:/Users/user/Documents/jpMorganChase/JPMC-tech-task-2-PY3/datafeed/server3.py", line 320, in
run(App())
File "C:/Users/user/Documents/jpMorganChase/JPMC-tech-task-2-PY3/datafeed/server3.py", line 244, in init
self._sim_start, _, _ = next(self._data_1)
StopIteration

Please how do i solve this ?

pip dependencies issue

before making any change to task 2, I ran the server and client without any issue. as soon as I made changes to the src/App.tsx and src/Graph.tsx and try to run server3.py in Datafeed folder( i am using python 3) it starts giving me pip dateutil dependencies issue. I installed pip multiple times and also set with the Windows environment path but the issue is still there. any suggestion.

npm start running error - Cannot find module '@jpmorganchase/perspective'.

Hi,

I am working through the second task for the JP Morgan internship.
I am using Windows 10 with python 3.8.0.

I have installed npm and I am using v 13.2.0.

When I try to run it I get the "Cannot find module '@jpmorganchase/perspective'" massage.

Type error: Cannot find module '@jpmorganchase/perspective'. TS2307

1 | import React, { Component } from 'react';

2 | import { Table } from '@jpmorganchase/perspective';
| ^
3 | import { ServerRespond } from './DataStreamer';
4 | import './Graph.css';
5 |

The python file is running without a problem.

What do I need to do in order to make the web application work?

Kind Regrdas,
Tsvetomir Pashiv

NPM install error

I am using windows 10, I have installed everything except npm, "npm config set python /path/to/executable/python" I can't see the effect of this command too. I have set python in my system to map to python2.7.x
Screenshot (66)

Failed to compile. Also GitHub links not opening

I have nvm and npm installed successfully as the commands node -v and npm -v give me the results I am expecting.
But upon npm start I get these errors

image

After typing npm start takes me to this with this error.

image

Furthermore these two links keep giving me page not found errors

image

Server3.py error

Hello,

When starting the server I'm running into the following error:

server3py

Environment
OS: Windows 10 64bits
Python: 3.7.5
npm: 6.12.0
node: v12.13.0

Thank you

Failed To Complile

Hello,

After following the steps in the guideline the following compilation error appeared. I am using macOS.

image

Start NPM problems

I would start NPM and it would run, but then it'll open the Local300 and say it can't find Cannot find module '@jpmorganchase/perspective'
image

npm install failure

My node version is v11.0.0 and my npm version is 6.4.1
I attempted to use the command npm install and received the following output:
Screenshot 2019-11-13 at 22 58 01

Unable to run server.py

Current Python version : 3.7.4
Running python server.py gives:
python: can't open file 'datafeed/server.py': [Errno 2] No such file or directory

Running python3 server.py gives nothing and goes back to prompt.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.