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

complete example : yarn start : unknown plugin "lodash" #95

Closed
theophanemayaud opened this issue May 11, 2018 · 4 comments
Closed

complete example : yarn start : unknown plugin "lodash" #95

theophanemayaud opened this issue May 11, 2018 · 4 comments

Comments

@theophanemayaud
Copy link

Do you want to request a feature or report a bug?
BUG

What is the current behavior?
example complete fails to run/build

What is the expected behavior?
Run/build example complete

Which versions of dependencies, and which browser are affected by this issue? Did this work in previous versions or setups?
I have yarn 1.4.0, did not change any of the package.json, but got, when running yarn :

Please choose a version of "react-redux-firebase" from this list: (Use arrow k
eys)
❯ 2.1.1 
  2.1.0 
  2.0.7-alpha 
  2.0.6 
  2.0.5 
  2.0.4 
  2.0.3 

I chose the latest 2.1.1
Then

warning codecov > request > node-uuid@1.4.8: Use uuid module instead
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning "firebase > @firebase/firestore@0.4.1" has unmet peer dependency "@firebase/app-types@0.x".
warning "firebase > @firebase/functions@0.1.1" has unmet peer dependency "@firebase/app-types@0.x".
warning "firebase > @firebase/database@0.2.2" has unmet peer dependency "@firebase/app-types@0.x".
warning "firebase > @firebase/storage@0.1.9" has unmet peer dependency "@firebase/app-types@0.x".
warning "firebase > @firebase/messaging@0.2.4" has unmet peer dependency "@firebase/app-types@0.x".
warning "firebase > @firebase/functions > @firebase/messaging-types@0.1.3" has unmet peer dependency "@firebase/app-types@0.x".
warning "firebase > @firebase/firestore > @firebase/firestore-types@0.3.0" has unmet peer dependency "@firebase/app-types@0.x".
warning "firebase > @firebase/database > @firebase/database-types@0.2.1" has unmet peer dependency "@firebase/app-types@0.x".
warning "firebase > @firebase/auth > @firebase/auth-types@0.2.1" has unmet peer dependency "@firebase/app-types@0.x".
warning "firebase > @firebase/storage > @firebase/storage-types@0.1.3" has unmet peer dependency "@firebase/app-types@0.x".

And then when running yarn start :
capture d ecran 2018-05-11 a 19 20 47

Steps to reproduce and if possible a minimal demo of the problem via codesandbox or similar.

@theophanemayaud
Copy link
Author

I tried the fix proposed there but only got more problems...

@prescottprue
Copy link
Owner

prescottprue commented May 11, 2018

@CoVoCre It seems to be because it is defaulting to the root .babelrc instead of using the babel settings in the webpack.config.js. Not sure why this is happening in your environment, but I will look into a way to prevent this from happening.

@prescottprue
Copy link
Owner

The options in babel-loader include babelrc: false to prevent fallingback to babelrc. Still not sure why I am not able to repro, but it should fix it.

prescottprue pushed a commit that referenced this issue May 11, 2018
…ple to prevent fallback to parent .babelrc - #95

*feat(examples): remove favicons plugin from complete example
@prescottprue
Copy link
Owner

Just merged that babelrc: false change along with a few other small things.

Like I said, I wasn't able to repro, so not positive of if it will fix it on your system.

Let me know if things are still not working for you and we can reopen. Thanks for reporting!

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

2 participants