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

Webstorm run npm command doesn't show dashboard.

Open slavoroi opened this issue 6 years ago • 2 comments

Please provide a description of the bug / issue, and provide the details below: When trying to run npm run build:dev in our system which contains webpack-dashboard call it doesn't show anything, just gibberish like : ']0;webpack-dashboard[?1049h[?1h=[1;1r[?25l[1;1H[H[2J[?1000h[?1002h[?1003h[?1005h'

If the issue is visual, please provide screenshots here

dashboard webstorm issue

Steps to reproduce the problem
  1. run your script through webstorm

====================================================================

Please provide a gist of relevant files
  1. export TRAX_ENV=INT && export DEBUG=true && webpack-dashboard -- ./config/compile-time-utils/webpack-dev-server.js --config config/webpack.config.dev.js --colors --progress
  2. webpack.config.js , We put new DashboardPlugin() in the plugins array :)

====================================================================

More Details
  • What operating system are you on? Linux mint 17.3
  • What terminal application are you using? webstorm 2017.3.4
  • What version of webpack-dashboard are you using? 1.1.1
  • What is the output of running echo $TERM? xterm-256color

slavoroi avatar Feb 25 '18 09:02 slavoroi

Hi @slavoroi -- The dashboard relies on blessed, which doesn't have universal support in psuedo-terminals. You may want to first peruse:

  • "Shelljs is incompatible with blessed": https://github.com/FormidableLabs/webpack-dashboard/issues/214
  • "Nodemon is incompatible with blessed.": https://github.com/FormidableLabs/webpack-dashboard/issues/217

To help us isolate the issue, can you do a temporary tweak to just run a straight blessed application in the WebStorm terminal? Here are some suggestions we've used to isolate the issue in the past:

  • node node_modules/blessed/example/simple-form.js -- https://github.com/FormidableLabs/webpack-dashboard/issues/214#issuecomment-340549856, https://github.com/FormidableLabs/webpack-dashboard/issues/217#issuecomment-342570220

And then report back. Thanks!

ryan-roemer avatar Feb 26 '18 21:02 ryan-roemer

So i did that and now I got nothing, it just printed two lines with no submit form (no gibberish), the second line is: "node node_modules/blessed/example/simple-form.js" while printing in the terminal gave a modal with an option of submit or cancel.

slavoroi avatar Feb 27 '18 08:02 slavoroi