# node_runtime: Ignore package-lock.json files when installing internal tools \(\#52451\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/f29c8eaf13682ef5a4a70a81eb4838b247cf7211)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: f29c8eaf13682ef5a4a70a81eb4838b247cf7211

Requested commit: f29c8eaf13682ef5a4a70a81eb4838b247cf7211

Commit: f29c8eaf13682ef5a4a70a81eb4838b247cf7211

Tree: 663b95c7ef8136b6f81f280ad6509726b0bf6a23

Author: Nicolas Le Cam

Committer: GitHub

## Message

```
node_runtime: Ignore package-lock.json files when installing internal tools (#52451)

## Context

This prevents tools with native bindings to fail installation, see:
- https://github.com/oxc-project/oxc-zed/issues/145
- https://github.com/napi-rs/napi-rs/pull/2707
- https://github.com/npm/cli/issues/4828

## How to Review

Fixes for https://github.com/oxc-project/oxc-zed/issues/145

## Self-Review Checklist

<!-- Check before requesting review: -->
- [x] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments
- [ ] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- Fixed potential node tools failed/incomplete installation when having
native bindings as optional dependencies

Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
```

## Parents

- [10676bad1dc13cfebd4f9c63ac536fa1c232cabe](https://git.cafe/gitcafe/zed/commit/10676bad1dc13cfebd4f9c63ac536fa1c232cabe?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/f29c8eaf13682ef5a4a70a81eb4838b247cf7211?format=markdown)
