-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Open
Labels
bugSomething isn't workingSomething isn't workingneeds-investigationThis issue needs to be further investigatedThis issue needs to be further investigatedtriageThis issue needs to be triaged by a maintainerThis issue needs to be triaged by a maintainer
Description
Is there an existing issue for this?
- I have searched the existing issues
OS/Web Information
seeing some error below for 4.106.3 release build
/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.4.0/bin/bundle
==> Testing code-server
==> /opt/homebrew/Cellar/code-server/4.106.3/bin/code-server --version
node:internal/modules/cjs/loader:1386
throw err;
^
Error: Cannot find module '/opt/homebrew/Cellar/code-server/4.106.3/libexec/node_modules/argon2/lib/binding/napi-v3/argon2.node'
Require stack:
- /opt/homebrew/Cellar/code-server/4.106.3/libexec/node_modules/argon2/argon2.js
- /opt/homebrew/Cellar/code-server/4.106.3/libexec/out/node/util.js
- /opt/homebrew/Cellar/code-server/4.106.3/libexec/out/node/cli.js
- /opt/homebrew/Cellar/code-server/4.106.3/libexec/out/node/entry.js
at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)
at Function._load (node:internal/modules/cjs/loader:1192:37)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
at Module.require (node:internal/modules/cjs/loader:1463:12)
at require (node:internal/modules/helpers:147:16)
at Object.<anonymous> (/opt/homebrew/Cellar/code-server/4.106.3/libexec/node_modules/argon2/argon2.js:9:25)
at Module._compile (node:internal/modules/cjs/loader:1706:14) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/opt/homebrew/Cellar/code-server/4.106.3/libexec/node_modules/argon2/argon2.js',
'/opt/homebrew/Cellar/code-server/4.106.3/libexec/out/node/util.js',
'/opt/homebrew/Cellar/code-server/4.106.3/libexec/out/node/cli.js',
'/opt/homebrew/Cellar/code-server/4.106.3/libexec/out/node/entry.js'
]
}
Node.js v22.21.1
Steps to Reproduce
- wget https://raw.githubusercontent.com/Homebrew/homebrew-core/4c173aaffcf196c22a5136e63378b3381745d8cd/Formula/c/code-server.rb -O code-server.rb
- brew reinstall -s -f ./code-server.rb
- brew test ./code-server.rb
Expected
should pass the regression check?
Actual
failed
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds-investigationThis issue needs to be further investigatedThis issue needs to be further investigatedtriageThis issue needs to be triaged by a maintainerThis issue needs to be triaged by a maintainer