deepsweet / isparta-loader

💯 isparta instrumenter loader for webpack
117 stars 22 forks source link

adding isparta to karma config results in babel errors #27

Closed drewwells closed 7 years ago

drewwells commented 7 years ago

installing isparta results in

webpack: bundle is now VALID.
webpack: bundle is now INVALID.

ERROR in Entry module not found: Error: Cannot resolve module 'babel' in /path/to/ui
webpack: bundle is now VALID.

installing babel results in babel errors

webpack: bundle is now VALID.
webpack: bundle is now INVALID.

ERROR in The node API for `babel` has been moved to `babel-core`.
webpack: bundle is now VALID.

It's not obvious to me what the error is here. If isparta requires babel, shouldn't it be a dependency of the project?

deepsweet commented 7 years ago

so, what was the problem? :)

drewwells commented 7 years ago

I think I had some cruft elsewhere mentioning babel that caused the issue