There is an error with the Chart library that I'm using, and to fix this I should run this script: https://github.com/plouc/nivo/blob/master/scripts/patch-react-spring.js. prior to build. I have thought of adding "prebuild":"npm run patch-react-spring.js" and adding patch-react-spring.js file in the root directory under package.json. However when i do npm run patch-react-app or npm run prebuild i get the Error: npm ERR! missing script: patch-react-spring.js
This is the GitHub repo to the project: https://github.com/JonasHendel/SunPosition