nodejs-dashboard icon indicating copy to clipboard operation
nodejs-dashboard copied to clipboard

strange terminal character output

Open jmcneese opened this issue 9 years ago • 8 comments

added import to my server entrypoint: import 'nodejs-dashboard';

added npm script like so: "start:dev": "NODE_ENV=development nodemon --watch server --exec \"npm run build:schema && nodejs-dashboard babel-node server/index.js\""

get these escape characters after running for a minute or so: screenshot 2016-10-12 22 26 43

this only occurs when my terminal is in rxvt mode, not in ansi mode.

jmcneese avatar Oct 13 '16 04:10 jmcneese

I have had a similar issue running forever -c "nodejs-dashboard node" server.js

It just spits out the escape characters when I move the mouse but I don't even get to the dashboard view.

It seems to work fine running without forever.

It's worth noting that it seems to work ok doing: nodejs-dashboard forever server.js

If I try and specify log outputs it doesn't show event loop delays though nodejs-dashboard forever -o app.out server.js

joshontheweb avatar Oct 13 '16 06:10 joshontheweb

Just curious, are you using iTerm2 with mouse reporting enabled? If so, try disabling and report back. It solved the issue for me.

node-dash-issue12

jlc467 avatar Oct 15 '16 15:10 jlc467

I was able to work around this by running nodemon inside of nodejs-dashboard: nodejs-dashboard -- nodemon -x 'node .'

vitosamson avatar Oct 15 '16 16:10 vitosamson

@jmcneese were you able to get around this issue?

jasonwilson avatar Oct 20 '16 03:10 jasonwilson

@jlc467 Yes, I am using iterm with the mouse reporting so that makes sense.

In the end this worked fine for me: nodejs-dashboard forever server.js

joshontheweb avatar Oct 20 '16 03:10 joshontheweb

I've tried @vitosamson's solution but it doesn't work for me fully. The dashboard starts but the event loop, memory and cpu are not working. Other wise I get the same character rendering issue.

I tried forever too in watch mode but couldn't get it to work, it would just crash but spawn an instance.

tanepiper avatar Oct 27 '16 11:10 tanepiper

I have same problem :(

p77u4n avatar Dec 05 '16 03:12 p77u4n

Adding link to related Blessed issue https://github.com/chjj/blessed/issues/235

jjasonclark avatar Dec 04 '17 19:12 jjasonclark