tforce_btc_trader icon indicating copy to clipboard operation
tforce_btc_trader copied to clipboard

Visualisation issue

Open thegamecat opened this issue 6 years ago • 3 comments

I'm running node 8.11.1 on ubuntu 16.04. Flask server is running and returning on port 500 but when I run the npm start I get a config issue.

npm start => localhost:8080 ✖ 「wds」: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.

  • configuration.entry should be one of these: object { : non-empty string | [non-empty string] } | non-empty string | [non-empty string] | function -> The entry point(s) of the compilation.

thegamecat avatar Apr 22 '18 20:04 thegamecat

Same for me, but on MacOS. I was playing for a day with different combinations of versions of webpack and webpack-dev-server. Also I was change configuration file in a different ways - but can't kill the bug. @lefnire what version combination of webpack and webpack-dev-server you use?

madpower2000 avatar Aug 05 '18 16:08 madpower2000

I think I had the updated version of webpack, changed webpack.config.js in client folder with this.

module.exports = {
  entry: './index.js',
  output: {
    filename: './bundle.js'
  },
  module: {
  rules: [
      { test: /\.css$/, use:['style-loader', 'css-loader']},
      { test: /\.js$/, use: 'babel-loader', exclude: /node_modules/ },
      { test: /\.jsx$/, use: 'babel-loader', exclude: /node_modules/ },
    ]
  }
};

Also server.py code was giving out the "sharpe" error. removed sharpe from18th line

for row in conn.execute('select id, hypers, returns, uniques from runs').fetchall():

ghost avatar Mar 12 '19 08:03 ghost

I don't, sorry guys :( not working on this project anymore

lefnire avatar Mar 12 '19 20:03 lefnire