stdlib-js / stdlib-js/stdlib

`node-gyp` is encountering an error.

Ouverte
#6,244 4 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
6k
Forks
1.3k
Merge moyen
1 j 3 h
PR mergées (30 j)
611

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript, node.js
Domaine
build-system
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.