Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

ionic start hangs on Ubuntu 20 virtual machine

Đang mở
#4,817 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
node.js, typescript
Lĩnh vực
cli, networking

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện ionic start --verbose trên thiết lập máy ảo Ubuntu 20 được nêu và theo dõi đầu ra kiểm tra cổng của ionic:utils-network, đặc biệt là lỗi địa chỉ IPv6 trên cổng 8123. Công việc được xem là hoàn tất khi ionic start không còn bị treo khi giao diện mạng này hiện diện và hành vi liên quan được bao phủ bởi một bài kiểm thử phù hợp.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
2k
Fork
681
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ionic-team/ionic-cli

Tất cả issue của ionic-team/ionic-cli

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.