2016-11-28 2 views
1

イオン会議アプリケーション(https://github.com/driftyco/ionic-conference-app)を取得しようとしています。 イオン2.1.13 NPMバージョン:3.10.8 ノードバージョン:6.9.1 コルドババージョン:イオン会議アプリケーションでサーブエラー

[email protected] ionic:serve C:\data\app\mkb

ionic-app-scripts serve "-l"

[13:21:16] ionic-app-scripts 0.0.44

[13:21:16] watch started ...

[13:21:16] build dev started ...

[13:21:16] clean started ...

[13:21:16] clean finished in less than 1 ms

[13:21:16] copy started ...

[13:21:16] transpile started ...

events.js:160

throw er; // Unhandled 'error' event 
^

Error: listen EADDRINUSE 0.0.0.0:8100

at Object.exports._errnoException (util.js:1026:11)

at exports._exceptionWithHostPort (util.js:1049:20)

at Server._listen2 (net.js:1257:14)

at listen (net.js:1293:10)

at net.js:1403:9

at _combinedTickCallback (internal/process/next_tick.js:77:11)

at process._tickCallback (internal/process/next_tick.js:98:9)

at Module.runMain (module.js:606:11)

at run (bootstrap_node.js:394:7)

at startup (bootstrap_node.js:149:9)

npm ERR! Windows_NT 10.0.14393

npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program > Files\nodejs\node_modules\npm\bin\npm-cli.js" "r " "ionic:serve" "--" "-l"

npm ERR! node v6.9.1

npm ERR! npm v3.10.8

npm ERR! code ELIFECYCLE

npm ERR! [email protected] ionic:serve: ionic-app-scripts serve "-l"

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the [email protected] ionic:serve script 'ionic-app-

scripts serve "-l"'.

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 ionic-conference-app package,

npm ERR! not with npm itself.

npm ERR! Tell the author that this fails on your system:

npm ERR! ionic-app-scripts serve "-l"

npm ERR! You can get information on how to open an issue for this project with:

...

There was an error serving your Ionic application: There was an error with the spawned command: serve

どれ:6.4.0

がイオン以下の出力で-l結果を提供何が間違っているかに関するアイデア?私はちょうどそれを試してみた、それは私のために働いていた

感謝

答えて

1

。 、npm install -g ionic

  • があなたのノードのフォルダを削除して、今再びnpm install
  • の操作を行います。

    1. 更新あなたイオンCLI:package.jsonで、そう下記のやろう、最新のRC3 ("ionic-angular": "2.0.0-rc.3-201611211919")を使っていることを示していますionic serveで何を得ますか?
  • 1

    あなたが得るエラーが

    listen EADDRINUSE 0.0.0.0:8100

    でポート8100が使用されているように見えます。 run.jsエラーがポートが既に使用中であることを私に示唆

    0

    ファイルでも、この値を変更することができます

    --port=8101

    を使用して別のポートで実行してみてください。

    私の場合、私のIonicアプリケーションに接続されているブラウザインスタンスを閉じて、他のVSコードイオンプロジェクトを閉じてionic serveコマンドを再度実行しようとしましたが、これが問題を解決するように見えました。

    関連する問題