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
error: use of undeclared identifier 'curl_ws_start_frame'; did you mean 'curl_ws_frame'?
426
+
```
427
+
428
+
It means your system is using the macOS SDK's libcurl headers, which are outdated (version below 8.16, which requireds for WebSocket support).
429
+
430
+
You must use `curl` install via Homebrew, you can use the following steps to make sure the system picks up the Homebrew `curl` headers/libs when building from source.
431
+
432
+
1. Install `curl` with Homebrew (if you don't already have it):
433
+
434
+
```bash
435
+
brew install curl
436
+
```
437
+
438
+
2. Add Homebrew's `curl` to your environment so build tools can find headers, libraries and `curl-config`:
Note: On Intel macs Homebrew is typically installed under `/usr/local` and on Apple Silicon under `/opt/homebrew`. Using `$(brew --prefix curl)` is the most portable option across both architectures.
449
+
450
+
3. Build & install `node-libcurl` from source.
451
+
452
+
Optional: remove a previously installed local copy of `node-libcurl` first to ensure a clean build:
This should allow your machine to build the addon using the Homebrew `curl` installation.
474
+
421
475
### Building on Windows
422
476
423
477
If installing using a prebuilt binary you only need to have the [visual c++ 2017 runtime library](https://visualstudio.microsoft.com/downloads/#microsoft-visual-c-redistributable-for-visual-studio-2017).
0 commit comments