Hi!
First of all, you should have the correct version of Node.js installed on your machine. The supported version can be seen in the .nvmrc
file in the repository root. As of now, for the latest 5.7.1 release, the required version is 6.1. I suggest using nvm:
nvm install v6.1
nvm alias default 6.1
Now you can verify your Node.js version with:
node -v
After that, you should run npm install
to get the latest dependencies. You should not worry about Webpack or React if you don’t intend to develop the UI further from here.
If you’ve ran npm install
already before and you have to change your Node.js version (or if you update Node.js version some time in the future), you should make sure the installed dependencies have been rebuilt with the correct Node.js version with:
cd client/
npm install
npm prune # removes old unused dependencies
npm rebuild # recompiles all possible C++ addons that might need change after Node.js has been updated
Hope this helps!
- Kimmo