Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown plugin "transform-replace-object-assign" #530

Closed
boyarskiy opened this issue May 24, 2017 · 4 comments
Closed

Unknown plugin "transform-replace-object-assign" #530

boyarskiy opened this issue May 24, 2017 · 4 comments

Comments

@boyarskiy
Copy link

boyarskiy commented May 24, 2017

Hi all,

I've Installed react-dates, ran project and get error:

ERROR in ./~/react-dates/index.js
Module build failed: ReferenceError: Unknown plugin "transform-replace-object-assign" 
specified in ".../node_modules/react-dates/.babelrc" at 0, attempted to resolve relative 
to ".../node_modules/react-dates"

Is this is known issue?

@ljharb
Copy link
Member

ljharb commented May 24, 2017

Did you figure it out?

@jpmarra
Copy link

jpmarra commented May 24, 2017

Having this same issue, is there a fix?

@boyarskiy
Copy link
Author

@jpmarra yeah, just install babel-plugin-transform-replace-object-assign

@ljharb
Copy link
Member

ljharb commented May 25, 2017

This issue shouldn't come up unless you're babel-transforming node_modules - which you should never do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants