Closed
Description
Bower install fails with the following error:
bower videojs-resolution-selector#1.6.1 error Invalid Version: 1.5
Stack trace:
TypeError: Invalid Version: 1.5
at new SemVer (/usr/local/lib/node_modules/bower/node_modules/semver/semver.js:273:11)
at compare (/usr/local/lib/node_modules/bower/node_modules/semver/semver.js:460:10)
at Object.neq (/usr/local/lib/node_modules/bower/node_modules/semver/semver.js:504:10)
at GitHubResolver.GitResolver._savePkgMeta (/usr/local/lib/node_modules/bower/lib/core/resolvers/GitResolver.js:224:56)
at GitHubResolver._savePkgMeta (/usr/local/lib/node_modules/bower/lib/core/resolvers/GitHubResolver.js:134:53)
at _fulfilled (/usr/local/lib/node_modules/bower/node_modules/q/q.js:834:54)
at self.promiseDispatch.done (/usr/local/lib/node_modules/bower/node_modules/q/q.js:863:30)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/bower/node_modules/q/q.js:796:13)
at /usr/local/lib/node_modules/bower/node_modules/q/q.js:604:44
at runSingle (/usr/local/lib/node_modules/bower/node_modules/q/q.js:137:13)
Console trace:
Error
at StandardRenderer.error (/usr/local/lib/node_modules/bower/lib/renderers/StandardRenderer.js:82:37)
at Logger.<anonymous> (/usr/local/lib/node_modules/bower/bin/bower:110:22)
at Logger.emit (events.js:107:17)
at Logger.emit (/usr/local/lib/node_modules/bower/node_modules/bower-logger/lib/Logger.js:29:39)
at /usr/local/lib/node_modules/bower/lib/commands/index.js:45:20
at _rejected (/usr/local/lib/node_modules/bower/node_modules/q/q.js:844:24)
at /usr/local/lib/node_modules/bower/node_modules/q/q.js:870:30
at Promise.when (/usr/local/lib/node_modules/bower/node_modules/q/q.js:1122:31)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/bower/node_modules/q/q.js:788:41)
at /usr/local/lib/node_modules/bower/node_modules/q/q.js:604:44
System info:
Bower version: 1.5.2
Node version: 0.12.5
OS: Darwin 14.5.0 x64
It's not enough to bump the version in package.json. It needs to be adjusted in bower.json as well!
Metadata
Assignees
Labels
No labels