Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,27 @@ When all these steps have been completed, install `node-odbc` into your Node.js
```bash
npm install odbc
```

---
🚨🚨🚨

**NOTE:** starting with version 12, npm will no longer run install scripts by default. When installing, you will see a message like this:

```sh
npm warn install-scripts odbc@2.5.0 (install: node-pre-gyp install --fallback-to-build)
```

We use [node-pre-gyp](https://github.com/mapbox/node-pre-gyp) to download prebuilt binaries or build from source for platforms which don't have prebuilt binaries.
You will need to approve the install script in order to use the odbc package. After approval, you will need to re-trigger the install script for odbc to work.

```bash
npm approve-scripts odbc
npm rebuild odbc
```
Once it has been approved and your package.json is updated, future installs will just work.

For more information refer to the [npm blog post](https://github.blog/changelog/2026-06-09-upcoming-breaking-changes-for-npm-v12/).

---

## Debugging
Expand Down
Loading