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
socket.io error connect fair-value.js cannot read property of undefined #35
Comments
same here |
Same, since the db upgrade, but only on a new build, the upgraded client from mongo works fine. Something returning null because it's the first run? |
@CarlitoGrey so you're saying it works fine on a newly installed K? |
@Camille92 no the opposite, the existing K I upgraded from mongo to sqlite works. A freshly installed copy of K doesn't. |
I'm getting the same stack trace on a fresh install with unmodified config/ENV in docker (Windows). |
I got it running on a clean instal, I had to do a couple of npm install but it works :) |
Which things did you install Camille92? |
Hi guys so here is what I did:
The loop looks like that:
I think I had to do it 3 times total, I was blocked the second time by that being ultra long:
You know the installation is complete when you get:
Repeat 5) and 6) until there are not missing modules, you have the name of the missing module in the first lines of the error.
This is for sure not be the best guide but it's how I got it to work! I'm on Ubuntu 16.04 with node 7.1 |
sorry i wrote shit (related to TypeError: Cannot read property 'value' of undefined) will be fixed next |
…35. Free Software Free Society To support commits by ctubio, you can buy-me-a-drink with a small git tip at: 1GitTipgxvKB3zjCLXRcSgDhC9pivkpc7u I promise to drink chocolate milk in the development of the next commit. To request new features or in case this commit breaks something for you, please create a new github issue with all possible details, but never share your API Keys! Signed-off-by: Carles Tubio <ctubio@users.noreply.github.com> Free Software Free Society To support commits by ctubio, you can buy-me-a-drink with a small git tip at: 1GitTipgxvKB3zjCLXRcSgDhC9pivkpc7u I promise to drink chocolate milk in the development of the next commit. To request new features or in case this commit breaks something for you, please create a new github issue with all possible details, but never share your API Keys! Signed-off-by: Carles Tubio <ctubio@users.noreply.github.com>
Is this fixed in current build? I've tried @Camille92's method but can't get past the loop. |
@shed909 the error of |
if you are running the app with user |
I'l give it a try! |
aaalso you should not install the app in the root folder of the system; that is like placing your bed in the corridor of your house; be safe, place your bed in your bedroom (or in a room with a window and far from the entrance door), and your programs in your home folder (or in a folder under the ownership of a normal user) |
Tried installing as a standard user, but I got the following output in a never ending loop:
|
what do you mean never ending loop? this is the compilation process |
What would be causing this:
13:14:45.664 main Requiring authentication to web client
13:14:45.707 main Listening to admins on port 3000
13:14:45.717 broker Exchange details { exchange: 'OkCoin',
pair: 'BTC/USD',
minTick: 0.01,
minSize: 0.01,
makeFee: 0.001,
takeFee: 0.002,
hasSelfTradePrevention: false }
13:14:45.731 main Unhandled rejection! TypeError: Cannot read property 'value' of undefined
at new FairValueEngine (/opt/finbots/K/Krypto-trading-bot/app/server/fair-value.js:22:67)
at Object. (/opt/finbots/K/Krypto-trading-bot/app/server/main.js:204:22)
at next (native)
at fulfilled (/opt/finbots/K/Krypto-trading-bot/app/server/main.js:4:58)
at process._tickCallback (internal/process/next_tick.js:109:7)
at Module.runMain (module.js:606:11)
at run (bootstrap_node.js:389:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:504:3 Promise {
TypeError: Cannot read property 'value' of undefined
at new FairValueEngine (/opt/finbots/K/Krypto-trading-bot/app/server/fair-value.js:22:67)
at Object. (/opt/finbots/K/Krypto-trading-bot/app/server/main.js:204:22)
at next (native)
at fulfilled (/opt/finbots/K/Krypto-trading-bot/app/server/main.js:4:58)
at process._tickCallback (internal/process/next_tick.js:109:7)
at Module.runMain (module.js:606:11)
at run (bootstrap_node.js:389:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:504:3 }
13:14:45.762 main Error THE END IS NEVER THE END IS NEVER THE END IS NEVER THE END IS NEVER THE END IS NEVER THE END IS NEVER THE END IS NEVER THE END IS NEVER THE END IS NEVER THE END IS NEVER THE END IS NEVER THE END IS NEVER THE END IS NEVER THE END IS NEVER THE END IS NEVER THE END IS NEVER THE END IS NEVER THE END IS NEVER THE END IS NEVER THE END IS NEVER THE END IS NEVER THE END
13:14:47.462 okcoin Successfully connected to addChannel: ok_sub_spotusd_btc_depth_20
13:14:47.465 okcoin Successfully connected to addChannel: ok_sub_spotusd_btc_trades
13:14:47.467 okcoin Successfully connected to login
13:14:47.762 main Exit code 0
error: Forever detected script exited with code: 0
error: Script restart attempt #1
13:14:48.996 main Requiring authentication to web client
13:14:49.047 main Listening to admins on port 3000
13:14:49.067 broker Exchange details { exchange: 'OkCoin',
Thank you for your answer.
The text was updated successfully, but these errors were encountered: