Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

ionic start hangs on Ubuntu 20 virtual machine

オープン
#4,817 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
node.js, typescript
領域
cli, networking

調査の方向性

まず、記載されている Ubuntu 20 の仮想マシン設定で ionic start --verbose を再現し、ionic:utils-network のポートチェック出力を確認します。特に、ポート 8123 での IPv6 アドレスの失敗を確認してください。これで完了となるのは、このネットワークインターフェースが存在する場合でも ionic start がハングしなくなり、関連する動作が適切なテストでカバーされている状態です。

索引モデルが issue の本文から書いたものです。

説明

triage

Description:

Ionic fails to start on an Ubuntu 20 virtual machine

Steps to Reproduce:

  • In Parallels, create a fresh Ubuntu 20 virtual machine using the offical Ubuntu image
  • Install NVM and use this to install NodeJS
  • Install Ionic using npm install -g @ionic/cli
  • Run ionic start in an empty directory

Output:

$ ionic start --verbose
ionic:lib Terminal info: { ci: false, shell: '/bin/bash', tty: true, windows: false } +0ms
ionic:lib CLI global options: { _: [ 'start' ], help: null, h: null, verbose: true, quiet: null, interactive: true, color: true, confirm: null, json: null, project: null, '--': [] } +3ms
ionic Context: { binPath: '/home/joe/.nvm/versions/node/v14.17.5/lib/node_modules/@ionic/cli/bin/ionic', libPath: '/home/joe/.nvm/versions/node/v14.17.5/lib/node_modules/@ionic/cli', execPath: '/media/psf/Projects/_labs/ionic_test', version: '6.18.1' } +0ms
? Use the app creation wizard? Yes
ionic:utils-network checking for open port on 0.0.0.0:8123 +0ms
ionic:utils-network checking for open port on 127.0.0.1:8123 +4ms
ionic:utils-network checking for open port on ::1:8123 +0ms
ionic:utils-network checking for open port on 10.10.10.211:8123 +1ms
ionic:utils-network checking for open port on fe80::21c:42ff:fe39:bb12:8123 +0ms
ionic:utils-network error while checking fe80::21c:42ff:fe39:bb12:8123: Error: listen EINVAL: invalid argument fe80::21c:42ff:fe39:bb12:8123     at Server.setupListenHandle [as _listen2] (net.js:1303:21)     at listenInCluster (net.js:1368:12)     at doListen (net.js:1505:7)     at processTicksAndRejections (internal/process/task_queues.js:83:21) { code: 'EINVAL', errno: -22, syscall: 'listen', address: 'fe80::21c:42ff:fe39:bb12', port: 8123 } +1ms

My ionic info:

$ ionic info
[WARN] You are not in an Ionic project directory. Project context may be missing.

Ionic:

  Ionic CLI : 6.18.1

Utility:

  cordova-res : not installed globally
  native-run  : not installed globally

System:

  NodeJS : v14.17.5
  npm    : 8.1.2
  OS     : Linux 5.4

Other Information:

I tried running it in /tmp/ionic as this directory is not mounted from the host system but the same thing occurs.

The address that it fails on is the IPv6 address of the primary (virtual) network adapter, enp0s5.

主要言語
TypeScript
スター
2k
フォーク
681
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ionic-team/ionic-cli のほかの issue

ionic-team/ionic-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。