React-dates: Unknown plugin "transform-replace-object-assign"

Created on 24 May 2017  路  4Comments  路  Source: airbnb/react-dates

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?

Most helpful comment

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

All 4 comments

Did you figure it out?

Having this same issue, is there a fix?

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brunocoelho picture brunocoelho  路  28Comments

maxmoeschinger picture maxmoeschinger  路  68Comments

jnrepo picture jnrepo  路  40Comments

ckeeney picture ckeeney  路  22Comments

easwee picture easwee  路  55Comments