stdlib-js / stdlib-js/stdlib

`node-gyp` is encountering an error.

Đang mở
#6,244 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
6k
Fork
1.3k
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
611

Mô tả

### Description

Encountered an error when i ran `node-gyp build` command and after building some files this error came:
```
addon.c
main.c
c_c.c
c_f.c
d_d.c
f_f.c
f_i.c
i_d.c
i_f.c
i_i.c
z_d.c
z_z.c
main.c
main.c
main.c
main.c
main.c
main.c
main.c
main.c
main.c
main.c
main.c
main.c
floorf.c
win_delay_load_hook.cc
LINK : fatal error LNK1181: cannot open input file 'm.lib' [C:\Users\gargg\Coding\stdlib\lib\node_modules\@stdlib\math\base\special\bernoullif\build\addon.vcxproj]
gyp ERR! build error

```

### Related Issues

Related issues # , # , and # .

### Questions

No.

### Demo

_No response_

### Reproduction

```shell

```

### Expected Results

```shell
should not return a error and .node file should be made
```

### Actual Results

```shell
returning an error
```

### Version

@0.3.2

### Environments

N/A

### Browser Version

_No response_

### Node.js / npm Version

v22.9.0

### Platform

Windows 11

### Checklist

- [x] Read and understood the [Code of Conduct](https://github.com/stdlib-js/stdlib/blob/develop/CODE_OF_CONDUCT.md).
- [x] Searched for existing issues and pull requests.

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

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

Hướng nghiên cứu

Start by reproducing `node-gyp build` on Windows 11 with Node.js v22.9.0 in the `@stdlib/math/base/special/bernoullif` package, focusing on the generated `build/addon.vcxproj` and the reported missing `m.lib`. Done means the build completes without the LNK1181 error and produces the expected `.node` file.

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

Đánh giá

Công nghệ
javascript, node.js
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
Cần làm rõ
Mức phù hợp với người mới
25/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.