docs: added note for building native dependencies (#2851)

This commit is contained in:
Believerd 2023-06-26 17:34:48 +08:00 committed by GitHub
parent 44166f7256
commit f18d07a4a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,8 @@ yarn install
### Build Native Dependencies
Run the following script. It will build the native module at [`/packages/native`](/packages/native) and build Node.js binding using [NAPI.rs](https://napi.rs/).
This could take a while if you build it for the first time.
This could take a while if you build it for the first time.
Note: use `strip` from system instead of `binutils` if you are runinng MacOS. [see problem here](https://github.com/toeverything/AFFiNE/discussions/2840)
```
yarn workspace @affine/native build