Trying to remove node module and reinstall it, I think this will solve this problem code example Example: remove node modules command rm -rf node_modules/ npm install