loopbackio / loopbackio/loopback-next

Issue on your example example app, todo-list vs your latest release.

Đang mở
#8,775 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.

bug Examples
Ngôn ngữ chính
TypeScript
Star
5.1k
Fork
1.1k
Merge trung bình
2 ngày 21 giờ
Pull request đã merge (30 ngày)
27

Mô tả

### Describe the bug

Has no exported member 'FakeTimerInstallOpts' when 'npm run build'.

### Logs

```shell
node_modules/@types/sinon/index.d.ts:1447:53 - error TS2694: Namespace '"/home/lemz/Projects/Loopback/todo-
list/node_modules/@sinonjs/fake-timers/types/fake-timers-src"' has no exported member 'FakeTimerInstallOpts'.

1447 useFakeTimers: boolean | Partial;
~~~~~~~~~~~~~~~~~~~~

node_modules/@types/sinon/index.d.ts:1569:67 - error TS2694: Namespace '"/home/lemz/Projects/Loopback/todo-
list/node_modules/@sinonjs/fake-timers/types/fake-timers-src"' has no exported member 'FakeTimerInstallOpts'.

1569 useFakeTimers(config?: number | Date | Partial): SinonFakeTimers;
~~~~~~~~~~~~~~~~~~~~

Found 2 errors in the same file, starting at: node_modules/@types/sinon/index.d.ts:1447
```

### Additional information

_No response_

### Reproduction

https://github.com/lemadane/todolist-loopback4

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.

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện lỗi với npm run build trong ví dụ todolist-loopback4 được liên kết. Kiểm tra node_modules/@types/sinon/index.d.ts và khai báo @sinonjs/fake-timers được các lỗi tham chiếu đến; hoàn tất khi ví dụ build được mà không có các lỗi FakeTimerInstallOpts bị thiếu.

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
build-system
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.