koenoe/cocoen

Unknown plugin "transform-object-assign" in .babelrc

frecklebit opened this issue · 2 comments

Module build failed: ReferenceError: Unknown plugin "transform-object-assign" specified in "/node_modules/cocoen/.babelrc" at 0, attempted to resolve relative to "/node_modules/cocoen"

You're using the babel-plugin-transform-object-assign plugin for dev but those who use babel RC with nodejs are getting the error above. You may wanna move that to dependencies.

Yeah, then another error happens. This library isn't built for nodejs I take it.

Maybe you can tell me what you would like to achieve? That's a bit unclear to me.
Are you trying to import/require Cocoen into a NodeJS project and then compile it yourself?
That should work. The Babel plugin you mentioned is listed in the dev dependencies.