After making changes to the configuration or dependencies, it's always a good idea to clear the npm cache and reinstall everything:
rm -rf node_modules rm package-lock.json npm install