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

Keep having warning on npm peer requirements #85

Open
kwunyeung opened this issue Dec 26, 2017 · 4 comments
Open

Keep having warning on npm peer requirements #85

kwunyeung opened this issue Dec 26, 2017 · 4 comments

Comments

@kwunyeung
Copy link

I keep having the npm peer requirements warning after adding ssrwpo:ssr. I have followed the installation procedure to install the required packages and I confirm that they are in the package.json dependency list. However, it keeps warning me the followings.

W20171226-12:59:44.546(8)? (STDERR) WARNING: npm peer requirements (for ssrwpo:ssr) not installed:
W20171226-12:59:44.546(8)? (STDERR)  - lodash@4.x not installed.
W20171226-12:59:44.547(8)? (STDERR)  - moment@2.x not installed.
W20171226-12:59:44.547(8)? (STDERR)  - react@16.2.0 installed, react@15.x needed
W20171226-12:59:44.547(8)? (STDERR)  - react-dom@16.2.0 installed, react-dom@15.x needed
W20171226-12:59:44.547(8)? (STDERR)  - react-i18next@7.3.0 installed, react-i18next@4.x needed
W20171226-12:59:44.548(8)? (STDERR)  - express@4.x not installed.
W20171226-12:59:44.548(8)? (STDERR)  - i18next@8.x not installed.
W20171226-12:59:44.549(8)? (STDERR)  - i18next-node-remote-backend@0.x not installed.
W20171226-12:59:44.549(8)? (STDERR)  - i18next-xhr-backend@1.x not installed.

How can I get rid of these warnings?

Thanks!

@cbilotta
Copy link
Member

Hello,
It is a misconfiguration of the npmPeerRequirements.

If you could do a pull request, that would be great.

@kwunyeung
Copy link
Author

Hi,

Where can I find the npmPeerRequirements to edit it?

@cbilotta
Copy link
Member

@kwunyeung
Copy link
Author

Seems not the case. The versions for the 3 react related packages can be resolved but not for lodash, express, i18next, i18next-node-remote-backend and i18next-xhr-backend. These packages are in my package.json and already installed in node_modules. Does it related to this issue?

Meteor-Community-Packages/check-npm-versions#15

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