Babel error: "Couldn't find preset 'latest' relative to directory" when preset was installed globally
Error: Couldn't find preset "react" when installed using npm install --global babel-preset-react but works without global flag