0
私はExt Reactプロジェクトを持っています。私は、コマンドを実行しよう:xdg-open: 'http:// localhost:8080'を開くための方法がありません
npm start
すべてがOK構築しますが、最終的に、私はエラーを取得する:
webpack: Compiled successfully.
/home/user/project/node_modules/open-browser-webpack-plugin/index.js:46
if (err) throw err;
^
Error: Command failed: /home/user/project/node_modules/open/vendor/xdg-open "http://localhost:8080"
xdg-open: no method available for opening 'http://localhost:8080'
at ChildProcess.exithandler (child_process.js:198:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:920:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `webpack-dev-server --progress --colors`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/user/.npm/_logs/2017-10-28T11_56_32_483Z-debug.log