Skip to content

Commit 3f7831c

Browse files
authored
chore: add note to readme for node v21 (#201)
1 parent cb2b48f commit 3f7831c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

flipt-client-node/README.md

+10
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,16 @@ fliptEvaluationClient.close();
5050

5151
## Potential Issues
5252

53+
### Node v21+
54+
55+
If you are using Node v21 or higher, you'll likely run into issues with the `ffi-napi` library. This is due to the fact that `ffi-napi` does not seem to be compatible with Node v21+.
56+
57+
See: [node-ffi-napi #267](https://github.com/node-ffi-napi/node-ffi-napi/issues/267)
58+
59+
To work around this issue you'll need to downgrade to Node v20 or lower. :(
60+
61+
We plan to look into alternative ffi libraries for node in the future. See [#200](https://github.com/flipt-io/flipt-client-sdks/issues/200)
62+
5363
### Vitest
5464

5565
If you are using this library in combination with [vitest](https://github.com/vitest-dev/vitest), you may run into segmentation fault issues. This is due to the fact that `vitest` does not work nicely with `ffi-napi` by default.

0 commit comments

Comments
 (0)