Admins-MacBook-Pro-3:react-ssr-spa mbenin$ npm i react-helmet --save --save-exact
npm ERR! Darwin 16.1.0
npm ERR! argv "/Users/mbenin/.nvm/versions/node/v6.9.1/bin/node" "/Users/mbenin/.nvm/versions/node/v6.9.1/bin/npm" "i" "react-helmet" "--save" "--save-exact"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! Cannot read property 'babel' of undefined
Issue was in my shrinkwrap.
i'm trying to move some code from webpack 1 to 4 and hit the same error message. and unfortunately this is the top result for that error.
the issue ended up being a version mismatch between webpack and babel-loader. i had [email protected] with [email protected], updating to [email protected] fixed the issue for me.
Thanks @worc :D
Most helpful comment
i'm trying to move some code from webpack 1 to 4 and hit the same error message. and unfortunately this is the top result for that error.
the issue ended up being a version mismatch between webpack and babel-loader. i had [email protected] with [email protected], updating to [email protected] fixed the issue for me.