Install node/npm if you haven't already. This was tested with node 6.9.
You must have flatc
on your path, or set in the environment variable FLATC
. The version used must be newer than Sept 2020, as we need this fix. They do not have a tagged version yet with this fix (as of this writing).
To clone, build, and install flatc:
git clone https://github.com/google/flatbuffers.git
cd flatbuffers
git checkout c30a87de6fc741d7dfcf1f721a69d89ca27a0866
cmake -G "Unix Makefiles"
make install
Uses flatc to generate the proto files necessary. Must run this before running an npm run build
Installs all necessary dependencies for building
Build the project and output it to the dist
folder
Generate debug types for TypeScript