Using with NestJS
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
- 28/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- node.js, typescript
- Lĩnh vực
- backend
Hướng nghiên cứu
Start by checking the SDK's published dist/index.d.ts and its package exports, then compare them with the TypeScript import shown in the issue. Reproduce the errors in a NestJS v8 project using the SDK and inspect the reported Node type declaration error. Done means the SDK can be imported and used from TypeScript in NestJS without these compilation errors, with a documented working example.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I'm getting some errors trying to use the SDK lib in NestJS (v8)
[4:01:21 PM] File change detected. Starting incremental compilation...
node_modules/@types/node/constants.d.ts:12:5 - error TS2309: An export assignment cannot be used in a module with other exported elements.
12 export = exp;
~~~~~~~~~~~~~
src/app/feature-flags/feature-flags.service.ts:1:26 - error TS2306: File '/Users/geraldyeo/Code/silver-davinci/node_modules/@harnessio/ff-nodejs-server-sdk/dist/index.d.ts' is not a module.
1 import * as harness from '@harnessio/ff-nodejs-server-sdk';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[4:01:21 PM] Found 2 errors. Watching for file changes.
Any examples on how to use with TS or Nest?
- Ngôn ngữ chính
- TypeScript
- Star
- 6
- Fork
- 10
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của harness/ff-nodejs-server-sdk
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
harness/ff-nodejs-server-sdk#129 ·
-
Using with Node 20Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Usage with AWS LambdaĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
harness/ff-nodejs-server-sdk#30 · 1 bình luận ·
Tất cả issue của harness/ff-nodejs-server-sdk
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
melgarafael/DeskcommCRM#5614 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
slackapi/slack-health-score#253 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feature needs triage site
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
owid/owid-grapher#8019 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
simstudioai/sim#10710 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
via-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày