Jump to content

Gatsby JS warning.

mrchow19910319
Go to solution Solved by HarryNyquist,

A peer dependency means that the package does not explicitly require the dependency, but features may be missing. In the case of bootstrap there, jquery is what makes the dropdown menus and such work properly, but the CSS styling will work without jquery, so it's a peer dependency instead of a hard dependency.

I am currently using Gatsby to build a blog, after installing some dependencies, I get these warnings. My site works fine for now, should I be worried about these?

 

 

1631519798_Image001.jpg.79d620018a51ccbd2e66334277b03bde.jpg

If it is not broken, let's fix till it is. 

Link to comment
Share on other sites

Link to post
Share on other sites

It just means some features may not work because of missing optional dependencies.

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

A peer dependency means that the package does not explicitly require the dependency, but features may be missing. In the case of bootstrap there, jquery is what makes the dropdown menus and such work properly, but the CSS styling will work without jquery, so it's a peer dependency instead of a hard dependency.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×