question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Building from source: npm run dev-server Error

See original GitHub issue

npm run dev-server

superset@0.999.0-dev dev-server /usr/local/incubator-superset/superset/assets webpack-dev-server --mode=development --progress

sh: 1: webpack-dev-server: not found

npm ERR! Linux 4.15.0-20-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "dev-server"
npm ERR! node v8.10.0
npm ERR! npm  v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! superset@0.999.0-dev dev-server: `webpack-dev-server --mode=development --progress`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the superset@0.999.0-dev dev-server script 'webpack-dev-server --mode=development --progress'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the superset package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     webpack-dev-server --mode=development --progress
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs superset
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls superset
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /usr/local/incubator-superset/superset/assets/npm-debug.log

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
coderfendercommented, May 24, 2019

Just run npm run server in a different service

0reactions
gho1bcommented, Oct 30, 2022

Just run npm run server in a different service

can you tell me exactly how did you resolve this ? Thanks

I had done by replace the host address to correct running superset server in cypress.json and webpack-proxy-config.js

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm run dev-server Error · Issue #6798 · apache/superset
npm ERR! npm ERR! Failed at the superset@0.999.0-dev dev-server script 'webpack-dev-server --mode=development --progress'. npm ERR! Make sure ...
Read more >
Laravel 8 Installation - npm run dev Error - Stack Overflow
To fix this issue you need to replace this code. mix.react('resources/js/app.js', 'public/js') .sass('resources/sass/app.scss', 'public/css');.
Read more >
webpack-dev-server - npm
First things first, install the module: npm install webpack-dev-server --save-dev. or. yarn add -D webpack-dev-server.
Read more >
Webpack Development Server - LearnHowToProgram.com
npm install webpack-dev-server@3.1.0 --save-dev ... It looks at the code creating an error, finds it's location in our source code, and gives us...
Read more >
To v5 from v4 - webpack
Upgrade webpack 4 and its plugins/loaders · Make sure your build has no errors or warnings · Make sure to use mode ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found