Zenbot: WebUI javascript assets missing

Created on 19 Feb 2018  路  14Comments  路  Source: DeviaVir/zenbot

Cannot GET /assets-wp/plotly.bundle.js

webui broken in unstable GIT cec00f8

bug

All 14 comments

1240 removes plotly in favor of echarts

Do you have the web ui running in a subfolder? If yes check this pr https://github.com/DeviaVir/zenbot/pull/1377

@defkev as i see that your pr was merged. can you please remove the prefix / again? see #1377 for the reason.

Nothing to change

1344 was merged after #1240 and thus took care of it

/assets-wp/echarts.bundle.js
/assets-wp/app.bundle.js

Unable to load. Pls help.

Review the output of npm install especially everything after bundling WebApp components

Also @DeviaVir mind closing this as #1240 has been merged.

Uhh I dont have the output anymore. Is it possible to rebuild only the WebApp component? @defkev

I am doing this on SBC so npm install takes long time

@Marekkon5 try running node post_install.js (https://github.com/DeviaVir/zenbot/blob/unstable/post_install.js)

bundling WebApp components /bin/sh: 1: webpack: not found

@DeviaVir so I am missing webpack... Tried npm install webpack and same.

@Marekkon5 what does which webpack say?
Also, I think you should install webpack-cli and not just webpack

  • which webpack outputs nothing
  • After Installation of cli - same

@DeviaVir Should I try installing with --global?

Both webpack installed ok, after starting zenbot got dependecy error (numbro). Installed everything started ok, expect the WebUI.
https://user-images.githubusercontent.com/15169286/37330691-3023fb44-26a2-11e8-964f-568560febca8.png

Any ideas @DeviaVir
? Thanks

EDIT: Fixed

@Marekkon5 how did you fix it?

Installed webpack globally.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

joeswann picture joeswann  路  4Comments

timstoop picture timstoop  路  4Comments

ituhin picture ituhin  路  3Comments

KryptoNova picture KryptoNova  路  3Comments

asafyish picture asafyish  路  3Comments