I am using some third party libraries in my code. I ran into some error like “str.match is not a function”
In my local code i did these steps one by one in the order mentioned.
- npm dedupe
- rimraf package-lock.json
- rimraf node_modules
- npm install
- npm start
with these commands i was able to fix that error and everything is working fine. Now when i deploy my code changes in netlify i still see that str.match error in the console and its not working. how can i run these 5 commands on netlify in order to freshly install the node modules?