Tempus-dominus: Add jQuery 3 in package.json

Created on 27 Dec 2016  路  10Comments  路  Source: Eonasdan/tempus-dominus

Please add jquery || ^3.0 as a dependency in packages.json.

Most helpful comment

there

All 10 comments

npm ERR! peer invalid: jquery@^1.8.3 || ^2.0, required by [email protected]

馃憤

Please ~~~~~~

npm shrinkwrap doesn't work without this fix due to: npm ERR! peer invalid: jquery@^1.8.3 || ^2.0, required by [email protected]. Please do add jQuery || ^3.0 as a dependency in packages.json.

+1

/cc @Eonasdan

ping

@Eonasdan
It seems like jQuery 3 is already in package.json but it was not published on npm,

npm install [email protected]

Gives this warning message

+-- [email protected] 
`-- UNMET PEER DEPENDENCY [email protected]

npm WARN [email protected] requires a peer of jquery@^1.8.3 || ^2.0 but none was installed.

When i look into my project node_modules/eonasdan-bootstrap-datetimepicker/package.json i found this -

"dependencies": {
    "bootstrap": "^3.3",
    "jquery": "^1.8.3 || ^2.0",
    "moment": "^2.10",
    "moment-timezone": "^0.4.0"
  },

I don't know your how release on npm works. But only you (owner of this repo) can fix it.

We ended up cloning the repo and changing it in our branch until it's fixed. Doesn't seem to be any errors using jQuery 3.0.

there

Great! Thank you so much for closing this issue and keeping the package alive.

Was this page helpful?
0 / 5 - 0 ratings