-
Notifications
You must be signed in to change notification settings - Fork 23
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
ReferenceError: Unknown plugin "replace-require" #48
Comments
Could you check if there’s a babelrc file in |
maybe in the babel config somewhere we can ignore node module's babelrcs? |
@jacobp100 Yes there is
https://github.com/facebook/yoga/blob/master/javascript/.babelrc |
@orta From what I understand this will be the default behavior in babel v7 but I can't find a way to configure it to do that with babel v6 right now... I am curious how this is working for everyone else that's using babel 6 though since yoga-layout is part of this package dependency tree. |
I think we need a But until I've done this, this bug lies with yoga. |
Ah maybe a quick fix would be to add their |
👍 or just manually delete it in your node modules |
Ok so after I delete
And then after I delete that one I am able to use |
Weird. Try updating |
I have the latest (0.0.24). It looks like the change you're referring to hasn't been released yet: d9035a2#diff-b9cfc7f2cdf78a7f4b91a753d10865a2 |
FYI I installed with the above commit and got the same error:
|
I'm getting an error about a missing babel plugin. I didn't think it would get hung up on nested
.babelrc
files?My test:
Relevant part of my
package.json
:My
.babelrc
:The error:
The text was updated successfully, but these errors were encountered: