stdlib-js / stdlib-js/stdlib

`node-gyp` is encountering an error.

未关闭
#6,244 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
6k
派生
1.3k
平均合并
1 天 3 小时
30 天内合并 PR
611

描述

### 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.

贡献指南

打开贡献指南

调研方向

首先,在 Windows 11 和 Node.js v22.9.0 上的包 `@stdlib/math/base/special/bernoullif` 中重现 `node-gyp build`,重点关注生成的 `build/addon.vcxproj` 以及报告中缺失的 `m.lib`。当构建在没有 LNK1181 错误的情况下完成并生成预期的 `.node` 文件时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, node.js
领域
build-system
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。