You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build: declare name, version in root package.json #365
I'm trying to build node-client on nix using buildNpmPackages, as nix is migrating away from the old way of building node packages, and I get the following:
```
error: builder for '/nix/store/yp8wvva7jzd0z1p6myafvc7h6j2baiax-neovim-node-client-5.1.0.drv' failed with exit code 1;
last 25 log lines:
>
>
> > @neovim/[email protected] build
> > tsc --pretty
>
>
> > @neovim/[email protected] build
> > babel src --out-dir lib
>
> Successfully compiled 2 files with Babel (132ms).
> Finished npmBuildHook
> Running phase: installPhase
> Executing npmInstallHook
> npm ERR! Invalid package, must have name and version
```
This seems to be solved simply by adding the name/version into package.json.
0 commit comments