[BUG]: Used Node version 12, but encountered an unsupported version error while installing dependencies.

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

Maintainer thường phản hồi trong vòng 1 ngày

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
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
lua, nodejs
Lĩnh vực
tooling

Hướng nghiên cứu

The payload names no source files, so start by reproducing the report: install Node 12 through vfox, activate it with vfox use node@12, and check which node and yarn binaries resolve on PATH when the machine also has two other Node installs. The screenshots show the yarn engine error but the issue does not say which lookup path yarn uses. Done means yarn accepts the vfox-selected Node 12, or the cause is identified and documented.

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

Mô tả

invalid
I specified the version in the project using vfox use node@12

image

Using node -v to check the version, it indeed confirms the successful switch.

image

But when using yarn to install dependencies, it prompts that the node version is not supported and indicates that I am using a different node version.

image

In my system, there are three versions of Node.

image

Ngôn ngữ chính
Go
Star
10
Fork
8
Merge trung bình
1 giờ 51 phút
Pull request đã merge (30 ngày)
12

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay 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 version-fox/vfox-nodejs

Tất cả issue của version-fox/vfox-nodejs

Issue tương tự

Thêm issue về Go

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.