Make chartjs and socket.io not to pull from cdn?
bwgjoseph opened this issue · 2 comments
Hi,
I'm using this in offline environment and it doesn't work because it seem that the scripts are pulling from cdn
I manually download the files are cdn, place it in my /public
to host it instead then point to my host and it does work.. Any idea if the js files can be placed within the /javavscripts
directory? So that it can reference local js file rather than cdn?
I am also facing issue where it complains about event-loop-stats not found, ignoring event loop metrics...
I'm using node v12
Would also be interested in this.
I am also facing issue where it complains about
event-loop-stats not found, ignoring event loop metrics...
I'm usingnode v12
@bwgjoseph, You are missing the optional event-loop-stats
module.
It should come installed when you do npm install express-status-monitor
.
express-status-monitor/package.json
Lines 73 to 75 in 8ff29e7
It complaints via a warn
(not an error
) as it is optional. You can do npm install event-loop-stats
to get rid of it.
It's optional because the code handles it.
express-status-monitor/src/helpers/gather-os-metrics.js
Lines 9 to 13 in 8ff29e7
express-status-monitor/src/helpers/gather-os-metrics.js
Lines 40 to 42 in 8ff29e7