Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information