bower / bower

A package manager for the web
bower.io
MIT License
14.99k stars 1.85k forks source link

bower 1.8.12 build failure #2592

Closed chenrui333 closed 3 years ago

chenrui333 commented 3 years ago

👋 trying to build the latest release, but run into some build issue. The error log is as below:

test failure ``` $ /usr/local/Cellar/bower/1.8.12/bin/bower internal/modules/cjs/loader.js:796 throw err; ^ Error: Cannot find module 'bower-logger' Require stack: - /usr/local/Cellar/bower/1.8.12/libexec/lib/node_modules/bower/lib/bin/bower.js - /usr/local/Cellar/bower/1.8.12/libexec/lib/node_modules/bower/bin/bower at Function.Module._resolveFilename (internal/modules/cjs/loader.js:793:17) at Function.Module._load (internal/modules/cjs/loader.js:686:27) at Module.require (internal/modules/cjs/loader.js:848:19) at require (internal/modules/cjs/helpers.js:74:18) at Object. (/usr/local/Cellar/bower/1.8.12/libexec/lib/node_modules/bower/lib/bin/bower.js:5:14) at Module._compile (internal/modules/cjs/loader.js:955:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10) at Module.load (internal/modules/cjs/loader.js:811:32) at Function.Module._load (internal/modules/cjs/loader.js:723:14) at Module.require (internal/modules/cjs/loader.js:848:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/usr/local/Cellar/bower/1.8.12/libexec/lib/node_modules/bower/lib/bin/bower.js', '/usr/local/Cellar/bower/1.8.12/libexec/lib/node_modules/bower/bin/bower' ] } ```

Full build log is in here, https://github.com/Homebrew/homebrew-core/runs/1723283963 relates to https://github.com/Homebrew/homebrew-core/pull/69280

chenrui333 commented 3 years ago

I think it relates to this commit, is there any convenient installation script to use?

sheerun commented 3 years ago

Running yarn should be sufficient

chenrui333 commented 3 years ago

Hi @sheerun, I will give yarn a try. Another thing, I found is the 1.8.12 is not marked as latest release, is there any reason for that? Thanks!

sheerun commented 3 years ago

it just doesn't have release notes