ionic-team / ionic-team/ionic-cli

Starting a new project

Đang mở
#5,014 2 bình luận 1 reaction 0 người được giao Xem trên GitHub
needs info
Ngôn ngữ chính
TypeScript
Star
2k
Fork
682
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**Description:**

I just installed Ionic and I can't start a project. When I try to create a new project it gets stuck on downloading the capacitor package and after a few minutes it prints an error message saying there were problems downloading the dependencies.
I also don't understand why when I start a new project it tries to install the capacitor package when I already have it installed globally on my computer.

**Steps to Reproduce:**

This is an example of what happens to me:

`ionic start myApp sidemenu`

It then starts the project build process and when it gets to this command it gets stuck until it throws a package download error a few minutes later:
`npm.cmd i --save -E @capacitor/core@latest`

How can I solve that problem?

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

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

Hướng nghiên cứu

Start by reproducing `ionic start myApp sidemenu` and observe the `npm.cmd i --save -E @capacitor/core@latest` step, including the complete dependency download error. Trace the CLI's project-creation dependency installation path and verify that a new project can be created without the reported failure.

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

Đánh giá

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

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.