ionic Error at new SubprocessError

Đang mở
#4,938 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/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

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện ionic cordova resourcescordova-res trên các phiên bản macOS, Node.js, Ionic CLI và cordova-res được nêu trong báo cáo. Kiểm tra vị trí trong stack của @ionic/utils-subprocess được hiển thị trong báo cáo và so sánh vị trí đó với lỗi phân đoạn được báo cáo; được xem là hoàn tất khi lỗi đã được giải thích và xác định được một thay đổi về tính tương thích hoặc xử lý lỗi đã được xác minh.

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

Mô tả

triage

Description:

I am trying to have my icons and splash screens using ionic cordova resources but since I upgraded to MacOS Ventura it's giving me this error:

I have tried:

  1. To delete and reinstall completely nvm, npm (on the same and different versions)

  2. To delete and reinstall ionic/cli on the same and differen versions

  3. Installing different version of Sharp

  4. Installing different version of Cordova-res (also done npm cache clean --force)

  5. Installing VIPS

  6. when trying to write only 'cordova-res', it gives me the following error:
    zsh: segmentation fault cordova-res

  7. When giving the command 'ionic cordova resources', it gives me the following error:

Error

at new SubprocessError
(/Users/ardiandeari/.nvm/versions/node/v14.15.0/lib/node_modules/@ionic/cli/node_modules/@ionic/utils-subprocess/dist/index.js:41:23)
at ChildProcess.<anonymous>
(/Users/ardiandeari/.nvm/versions/node/v14.15.0/lib/node_modules/@ionic/cli/node_modules/@ionic/utils-subprocess/dist/index.js:125:27)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1048:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
  ionic Error
  ionic     at new SubprocessError (/Users/ardiandeari/.nvm/versions/node/v14.15.0/lib/node_modules/@ionic/cli/node_modules/@ionic/utils-subprocess/dist/index.js:41:23)
  ionic     at ChildProcess.<anonymous> (/Users/ardiandeari/.nvm/versions/node/v14.15.0/lib/node_modules/@ionic/cli/node_modules/@ionic/utils-subprocess/dist/index.js:125:27)
  ionic     at ChildProcess.emit (events.js:315:20)
  ionic     at maybeClose (internal/child_process.js:1048:16)
  ionic     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) +760ms

My ionic info:

ionic info

Ionic:

   Ionic CLI                     : 6.19.0 (/Users/ardiandeari/.nvm/versions/node/v14.15.0/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 5.9.2
   @angular-devkit/build-angular : 0.1000.8
   @angular-devkit/schematics    : 10.0.8
   @angular/cli                  : 10.0.8
   @ionic/angular-toolkit        : 2.3.3

Cordova:

   Cordova CLI       : 11.0.0
   Cordova Platforms : android 10.1.1
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, (and 21 other plugins)

Utility:

   cordova-res                          : 0.15.4
   native-run (update available: 1.7.1) : 1.4.0

System:

   ios-sim : 8.0.2
   NodeJS  : v14.15.0 (/Users/ardiandeari/.nvm/versions/node/v14.15.0/bin/node)
   npm     : 6.14.8
   OS      : macOS
   Xcode   : Xcode 14.1 Build version 14B47b```


**Other Information:**
<!--
e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links,
forum links, etc
-->
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.