Closed topaxi closed 8 years ago
If a module (like babel-runtime) has no entry point (no index.js nor main defined in package.json), The resolvePkg() functions throws with Cannot find module 'babel-runtime/'.
babel-runtime
index.js
main
package.json
resolvePkg()
Cannot find module 'babel-runtime/'
I'm unsure how this could be fixed.
it just needs to find the dir root. of the given module
If a module (like
babel-runtime
) has no entry point (noindex.js
normain
defined inpackage.json
), TheresolvePkg()
functions throws withCannot find module 'babel-runtime/'
.I'm unsure how this could be fixed.