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

"No matching version found for @types/vscode@^1.113.0."

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

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

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
56/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
javascript, typescript
Lĩnh vực
cli, tooling

Hướng nghiên cứu

Bắt đầu bằng cách kiểm tra package.json được tạo và template cung cấp dependency @types/vscode của nó, sau đó tái hiện lỗi bằng npm install. Truy tìm lý do project được tạo yêu cầu một phiên bản không khả dụng và xác minh rằng một extension TypeScript mới được tạo có thể cài đặt thành công bằng npm.

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

Mô tả

When I try to create an extension with yo code, it fails to npm install at the end:

✔ What type of extension do you want to create? New Extension (TypeScript)
✔ What's the name of your extension? shutdown_repro
✔ What's the identifier of your extension? shutdown-repro
✔ What's the description of your extension?
✔ Initialize a git repository? No
✔ Which bundler to use? unbundled
✔ Which package manager to use? npm

Writing in D:\Dev\Temp Projects\shutdown-repro...
   create shutdown-repro\.vscode\extensions.json
   create shutdown-repro\.vscode\launch.json
   create shutdown-repro\.vscode\settings.json
   create shutdown-repro\.vscode\tasks.json
   create shutdown-repro\package.json
   create shutdown-repro\tsconfig.json
   create shutdown-repro\.vscodeignore
   create shutdown-repro\vsc-extension-quickstart.md
   create shutdown-repro\README.md
   create shutdown-repro\CHANGELOG.md
   create shutdown-repro\src\extension.ts
   create shutdown-repro\src\test\extension.test.ts
   create shutdown-repro\.vscode-test.mjs
   create shutdown-repro\.eslintrc.json

Changes to package.json were detected.

Running npm install for you to install the required dependencies.
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @types/vscode@^1.113.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in: C:\Users\danny\AppData\Local\npm-cache\_logs\2026-03-30T15_16_23_647Z-debug-0.log
Error code

Command failed with exit code 1: npm install

The last version of this package on npm seems to be 1.110.0 but it seems to be trying to get 1.113.0.

Ngôn ngữ chính
JavaScript
Star
1.6k
Fork
262
Merge trung bình
3 giờ 44 phút
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có 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 microsoft/vscode-generator-code

Tất cả issue của microsoft/vscode-generator-code

Issue tương tự

Thêm issue về JavaScript

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.