I installed babel-core
, babel-loader
, and a few other packages via npm
npm install babel-loader babel-core ...
This resulted in the following definitions in my package.json
"dependencies": {
"babel-core": "^6.26.3",
"babel-loader": "^8.0.0",
...
},
At the time of this question, the latest version of babel-core
is indeed 6.26.3
and the latest version of babel-loader
is 8.0.0
as per npmjs.com repository.
However when I run npm install
again to verify everything, I get this message:
npm WARN babel-loader@8.0.0 requires a peer of @babel/core@^7.0.0 but none is installed. You must install peer dependencies yourself.
Why would babel-loader
depend on a version of babel-core
that doesn't exist yet? And what's the recommended way to resolve this warning?
Thanks!
EDIT Looks like the babel-loader
library was published only 4 days ago. Could this be a relatively recent problem caused by this being published?