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

BROKEN CHANGE!! 1.8.8 to 1.8.10 #2590

Closed
javasgl opened this issue Jan 18, 2021 · 4 comments
Closed

BROKEN CHANGE!! 1.8.8 to 1.8.10 #2590

javasgl opened this issue Jan 18, 2021 · 4 comments

Comments

@javasgl
Copy link

javasgl commented Jan 18, 2021

Output of bower -v && npm -v && node -v:

1.8.10
3.10.10
v6.12.0

Additional environment details (proxy, private registry, etc.):

warning bower > github@14.0.0: 'github' has been renamed to '@octokit/rest' (https://git.io/vNB11)
warning bower > opn@6.0.0: The package has been renamed to `open`
warning bower > bower-registry-client > mkdirp@0.3.5: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning bower > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning bower > bower-registry-client > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning bower > request > har-validator@5.1.5: this library is no longer supported
warning gulp.spritesmith > gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
[2/4] 🚚  Fetching packages...
error configstore@5.0.1: The engine "node" is incompatible with this module. Expected version ">=8". Got "6.12.0"
error Found incompatible module.

in bower version 1.8.8, lru-cache is 2.7.3

but in bower version 1.8.10, lru-cache has been upgrade to 6.0

@javasgl javasgl changed the title BROKEEN CHANGE!! 1.8.8 to 1.8.10 BROKEN CHANGE!! 1.8.8 to 1.8.10 Jan 18, 2021
@yanxiaosong0902
Copy link

yanxiaosong0902 commented Jan 18, 2021

in bower v1.8.10 & node version < 10
run yarn install:
[1/4] 🔍 Resolving packages...
warning bower > github@14.0.0: 'github' has been renamed to '@octokit/rest' (https://git.io/vNB11)
warning bower > bower-registry-client > mkdirp@0.3.5: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning bower > opn@6.0.0: The package has been renamed to open
warning bower > request@2.88.2: request has been deprecated, see request/request#3142
warning bower > bower-registry-client > request@2.88.2: request has been deprecated, see request/request#3142
warning bower > request > har-validator@5.1.5: this library is no longer supported
[2/4] 🚚 Fetching packages...
error lru-cache@6.0.0: The engine "node" is incompatible with this module. Expected version ">=10". Got "8.12.0"
error Found incompatible module.

@sheerun
Copy link
Contributor

sheerun commented Jan 18, 2021

Thank you for notice, no need for exclamation marks. I'll try to fix it

@sheerun
Copy link
Contributor

sheerun commented Jan 18, 2021

Bower 1.8.11 should fix this

@sheerun sheerun closed this as completed Jan 18, 2021
@krazyjakee
Copy link

Looks like there is still some issue with the github resolver that is still present in 1.8.11. I'd argue at least one of those exclamation marks was warranted.

Error: Cannot find module 'qs'
Require stack:
- /Users/User/.nvm/versions/node/v14.12.0/lib/node_modules/bower/lib/node_modules/request/lib/querystring.js
- /Users/User/.nvm/versions/node/v14.12.0/lib/node_modules/bower/lib/node_modules/request/request.js
- /Users/User/.nvm/versions/node/v14.12.0/lib/node_modules/bower/lib/node_modules/request/index.js
- /Users/User/.nvm/versions/node/v14.12.0/lib/node_modules/bower/lib/util/download.js
- /Users/User/.nvm/versions/node/v14.12.0/lib/node_modules/bower/lib/core/resolvers/GitHubResolver.js
- /Users/User/.nvm/versions/node/v14.12.0/lib/node_modules/bower/lib/core/resolvers/index.js
- /Users/User/.nvm/versions/node/v14.12.0/lib/node_modules/bower/lib/core/resolverFactory.js
- /Users/User/.nvm/versions/node/v14.12.0/lib/node_modules/bower/lib/core/PackageRepository.js
- /Users/User/.nvm/versions/node/v14.12.0/lib/node_modules/bower/lib/core/Manager.js
- /Users/User/.nvm/versions/node/v14.12.0/lib/node_modules/bower/lib/core/Project.js
- /Users/User/.nvm/versions/node/v14.12.0/lib/node_modules/bower/lib/commands/install.js
- /Users/User/.nvm/versions/node/v14.12.0/lib/node_modules/bower/lib/commands/index.js
- /Users/User/.nvm/versions/node/v14.12.0/lib/node_modules/bower/lib/index.js
- /Users/User/.nvm/versions/node/v14.12.0/lib/node_modules/bower/lib/bin/bower.js
- /Users/User/.nvm/versions/node/v14.12.0/lib/node_modules/bower/bin/bower
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:893:15)
    at Function.Module._load (internal/modules/cjs/loader.js:743:27)
    at Module.require (internal/modules/cjs/loader.js:965:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at Object.<anonymous> (/Users/User/.nvm/versions/node/v14.12.0/lib/node_modules/bower/lib/node_modules/request/lib/querystring.js:3:10)
    at Module._compile (internal/modules/cjs/loader.js:1076:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
    at Module.load (internal/modules/cjs/loader.js:941:32)
    at Function.Module._load (internal/modules/cjs/loader.js:782:14)
    at Module.require (internal/modules/cjs/loader.js:965:19) {
  code: 'MODULE_NOT_FOUND'
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants