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

npm WARN [email protected] requires a peer of jQuery@>=1.8 but none is installed. #1078

Closed
seyfer opened this issue Feb 10, 2020 · 4 comments

Comments

@seyfer
Copy link
Contributor

seyfer commented Feb 10, 2020

When I install my dependencies or build with webpack I see this message

npm WARN [email protected] requires a peer of jQuery@>=1.8 but none is installed. You must install peer dependencies yourself.

Description

Provide relevant details according to the context:

  • Linux
  • Latest npm and node

How to reproduce?

Just run the install of any package with webpack, when [email protected] is installed

It is really easy to fix maybe? there is no package named jQuery. We have jquery installed
"jquery": "^3.4.1",
means package.json in trumbowyg is wrong. should be

  "peerDependencies": {
    "jquery": ">=1.8"
  },
Alex-D added a commit that referenced this issue Feb 10, 2020
fix for #1078 - jquery peer warn on packages install
@Alex-D Alex-D closed this as completed Feb 10, 2020
@Alex-D
Copy link
Owner

Alex-D commented Feb 10, 2020

Thank you for the fix :)

@andreiradoi
Copy link

Could we have this pushed to npm as well? Thanks :)

@DavitSimonishvili
Copy link

I have same problem with [email protected]. can anyone help me?

@Alex-D
Copy link
Owner

Alex-D commented Nov 10, 2021

You just need to install jQuery on the version you want.

npm install --save trumbowyg jquery

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

4 participants