-
Install node 14.10.0 or later
Option 1: Using node version manager
- Install nvm from https://github.com/nvm-sh/nvm
- Run below commands
nvm install 14.10.0 nvm use 14.10.0Option 2: Installing nodejs and npm directly
- Debian: https://github.com/nodesource/distributions
- Arch Linux:
pacman -S npm(this will install both node and npm) - Windows: https://nodejs.org/en/download/ (remember to add installation path to environment variables)
-
Install yarn
npm install -g yarn -
Install BuckleScript globally
yarn global add bs-platform -
Install react-scripts globally
yarn global add react-scripts --save --no-bin-links -
Install packages from package.json
> cd proyecto-nutria.github.io > yarn install
-
Compile the ReasonML files to javascript
yarn build:reason
-
Run the project using:
yarn startIf you see
System limit for number of file watchers, you can solve the problem using:sudo sysctl -w fs.inotify.max_user_watches=100000 -
.envcontents:EXTEND_ESLINT=true PORT=3000
Note: Try to split the frontend in components and screens
- Please run
yarn build.
I get the error 'BROWSER' is not recognized as an internal or external command when trying to start in Windows.
Open package.json and remove Browser=brave. You can set an env variable to run in chrome if you want.
setx BROWSER chrome