babel-starter-kit
babel-starter-kit copied to clipboard
Cannot find module 'babel-runtime'
Problem described here and here.
It seems babel-preset-es2015-rollup
you used is not maintained any more.
Way to fix
Replace the lib with babel-plugin-external-helpers
and add this to package.json:
{
"presets": [
["es2015", { "modules": false }]
],
"plugins": [
"external-helpers"
]
}
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
@Stupidism can you post your package.json? It doesn't seems to work with this solution. Thanks =)
Edit: I've added the "transform-exports-extensions plugin and it worked:
"babel": {
"presets": [
[
"es2015",
{
"modules": false
}
]
],
"plugins": [
"external-helpers",
"transform-export-extensions"
]
},