You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for posting this. It is just the sort of thing I need. I'm having trouble building it. Here is what I did.
Cloned the repo
created the virtual env
installed the python dependencies
tried it and it worked fine
Now I try to build the bundles. I did:
npm install
./node_packages/.bin/webpack
And then I get a ton of errors starting with
Hash: e68659b38834297d914d
Version: webpack 1.15.0
Time: 3540ms
Asset Size Chunks Chunk Names
e632aa14b4f39ef201e9.worker.js 71.7 kB [emitted]
bundle.js 1.74 MB 0 [emitted] main
+ 352 hidden modules
ERROR in ./static/src/js/dashboard.js
/home/gb/tmp/system_dashboard/static/src/js/dashboard.js
11:29 error 'worker-static-loader?{'staticPath':'static' should be listed in the project's dependencies. Run 'npm i -S worker-static-loader?{'staticPath':'static' to add it import/no-extraneous-dependencies
11:37 error Unable to resolve path to module 'worker-static-loader?{'staticPath':'static/build/'}!./web_workers/web_worker_get_data.js' import/no-unresolved
28:21 error Expected 'this' to be used by class method 'handelDataChange' class-methods-use-this
29:18 error 'key' is never reassigned. Use 'const' instead prefer-const
✖ 4 problems (4 errors, 0 warnings)
I'm a relative newb so I'm likely doing something incorrectly.
The text was updated successfully, but these errors were encountered:
Well, those are just eslint errors (Airbnb style guidelines). You should be able to build without any problem.
I will fixed them any way... Perps I should update all the libraries to latest.
Thanks for posting this. It is just the sort of thing I need. I'm having trouble building it. Here is what I did.
Now I try to build the bundles. I did:
And then I get a ton of errors starting with
I'm a relative newb so I'm likely doing something incorrectly.
The text was updated successfully, but these errors were encountered: