amilajack / amilajack/node-disk-utility

node-pre-gyp issues

Offen
#74 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
30
Forks
4
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

`package.json` references a main branch version of `node-pre-gyp` than the modified `github:amilajack/node-pre-gyp#neon-compat` that has been previously used for neon package publishing.

Running `npm run package` on this example project only bundles the native directory. There installing the package fails with no access to `index.js`
![build](https://user-images.githubusercontent.com/15960212/126215678-f5fa916a-95fb-4e56-8484-111366f6b143.jpg)

Both `node-pre-gyp` and `@mapbox/node-pre-gyp` appear to ignore the `files` section of `package.json` for files to bundle in the package and I'm struggling to find some documentation for `node-pre-gyp` that details how to overcome this.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.