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

code-server 4.96.1 #201715

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Formula/c/code-server.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class CodeServer < Formula
desc "Access VS Code through the browser"
homepage "https://github.com/coder/code-server"
url "https://registry.npmjs.org/code-server/-/code-server-4.93.1.tgz"
sha256 "c6204fbb323f2950a42c49b88a2fc2d02b45d4cf684e88b220d9fe1fda3f9a0a"
url "https://registry.npmjs.org/code-server/-/code-server-4.96.1.tgz"
sha256 "024955288ccfd3c4b2e8737a17ee7e4ee9877ed7d493e8dc7b3f556b12dbfb1d"
license "MIT"

bottle do
Expand All @@ -26,7 +26,7 @@
depends_on "libxkbfile"
end

def install

Check failure on line 29 in Formula/c/code-server.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

`brew install --verbose --formula --build-bottle code-server` failed on macOS Sonoma (14) on Apple Silicon!

npm http fetch GET 200 https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.0.tgz 1005ms (cache miss) npm info run [email protected] install node_modules/code-server/node_modules/argon2 node-pre-gyp install --fallback-to-build npm info run [email protected] install { code: 0, signal: null } npm info run [email protected] postinstall node_modules/code-server sh ./postinstall.sh npm info run [email protected] postinstall { code: 1, signal: null } npm verbose stack Error: command failed npm verbose stack at promiseSpawn (/opt/homebrew/Cellar/node@20/20.18.1/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:22:22) npm verbose stack at spawnWithShell (/opt/homebrew/Cellar/node@20/20.18.1/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:124:10) npm verbose stack at promiseSpawn (/opt/homebrew/Cellar/node@20/20.18.1/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:12:12) npm verbose stack at runScriptPkg (/opt/homebrew/Cellar/node@20/20.18.1/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:77:13) npm verbose stack at runScript (/opt/homebrew/Cellar/node@20/20.18.1/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:12) npm verbose stack at /opt/homebrew/Cellar/node@20/20.18.1/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:329:17 npm verbose stack at run (/opt/homebrew/Cellar/node@20/20.18.1/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:67:22) npm verbose stack at /opt/homebrew/Cellar/node@20/20.18.1/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:84:9 npm verbose stack at new Promise (<anonymous>) npm verbose stack at callLimit (/opt/homebrew/Cellar/node@20/20.18.1/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:35:69) npm verbose pkgid [email protected] npm error code 1 npm error path /opt/homebrew/Cellar/code-server/4.96.1/libexec/lib/node_modules/code-server npm error command failed npm error command sh -c sh ./postinstall.sh npm error Installing Code dependencies... npm error User agent: npm/10.8.2 node/v20.18.1 darwin arm64 workspaces/false ci/github-actions npm error You may not have the required dependencies to build the native modules. npm error Please see https://github.com/coder/code-server/blob/main/docs/npm.md npm error npm verbose cli /opt/homebrew/Cellar/node@20/20.18.1/bin/node /opt/homebrew/opt/node@20/bin/npm npm error npm info using [email protected] npm error npm info using [email protected] npm error npm silly config load:file:/opt/homebrew/Cellar/node@20/20.18.1/lib/node_modules/npm/npmrc npm error npm silly config load:file:/private/tmp/code-server-20241218-6746-7av9yd/package/.brew_home/.npmrc npm error npm silly config load:file:/opt/homebrew/Cellar/code-server/4.96.1/libexec/etc/npmrc npm error npm verbose title npm install npm error npm verbose argv "install" "--unsafe-perm" "--omit" "dev" npm error npm verbose logfile logs-max:10 dir:/Users/brew/Library/Caches/Homebrew/npm_cache/_logs/2024-12-19T02_25_16_715Z- npm error npm verbose logfile /Users/brew/Library/Caches/Homebrew/npm_cache/_logs/2024-12-19T02_25_16_715Z-debug-0.log npm error npm silly packumentCache heap:2197815296 maxSize:549453824 maxEntrySize:274726912 npm error npm silly logfile done cleaning log files npm error npm silly idealTree buildDeps npm error npm silly placeDep ROOT [email protected] OK for: want: file:node_modules/code-server/lib/vscode npm error npm silly fetch manifest @microsoft/1ds-core-js@^3.2.13 npm error npm silly packumentCache full:https://registry.npmjs.org/@microsoft%2f1ds-core-js cache-miss npm error npm http fetch GET 200 https://registry.npmjs.org/@microsoft%2f1ds-core-js 139ms (cache miss) npm error npm silly packumentCache full:https://registry.npmjs.org/@microsoft%2f1ds-core-js set size:undefined disposed:false npm error npm silly fetch manifest @microsoft/1ds-post-js@^3.2.13 npm error npm silly packumentCache full:https

Check failure on line 29 in Formula/c/code-server.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

`brew install --verbose --formula --build-bottle code-server` failed on macOS Ventura (13) on Apple Silicon!

npm http fetch GET 200 https://registry.npmjs.org/@coder/logger/-/logger-3.0.1.tgz 1529ms (cache miss) npm info run [email protected] install node_modules/code-server/node_modules/argon2 node-pre-gyp install --fallback-to-build npm info run [email protected] install { code: 0, signal: null } npm info run [email protected] postinstall node_modules/code-server sh ./postinstall.sh npm info run [email protected] postinstall { code: 1, signal: null } npm verbose stack Error: command failed npm verbose stack at promiseSpawn (/opt/homebrew/Cellar/node@20/20.18.1/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:22:22) npm verbose stack at spawnWithShell (/opt/homebrew/Cellar/node@20/20.18.1/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:124:10) npm verbose stack at promiseSpawn (/opt/homebrew/Cellar/node@20/20.18.1/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:12:12) npm verbose stack at runScriptPkg (/opt/homebrew/Cellar/node@20/20.18.1/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:77:13) npm verbose stack at runScript (/opt/homebrew/Cellar/node@20/20.18.1/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:12) npm verbose stack at /opt/homebrew/Cellar/node@20/20.18.1/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:329:17 npm verbose stack at run (/opt/homebrew/Cellar/node@20/20.18.1/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:67:22) npm verbose stack at /opt/homebrew/Cellar/node@20/20.18.1/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:84:9 npm verbose stack at new Promise (<anonymous>) npm verbose stack at callLimit (/opt/homebrew/Cellar/node@20/20.18.1/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:35:69) npm verbose pkgid [email protected] npm error code 1 npm error path /opt/homebrew/Cellar/code-server/4.96.1/libexec/lib/node_modules/code-server npm error command failed npm error command sh -c sh ./postinstall.sh npm error Installing Code dependencies... npm error User agent: npm/10.8.2 node/v20.18.1 darwin arm64 workspaces/false ci/github-actions npm error You may not have the required dependencies to build the native modules. npm error Please see https://github.com/coder/code-server/blob/main/docs/npm.md npm error npm verbose cli /opt/homebrew/Cellar/node@20/20.18.1/bin/node /opt/homebrew/opt/node@20/bin/npm npm error npm info using [email protected] npm error npm info using [email protected] npm error npm silly config load:file:/opt/homebrew/Cellar/node@20/20.18.1/lib/node_modules/npm/npmrc npm error npm silly config load:file:/private/tmp/code-server-20241218-6662-3s17tm/package/.brew_home/.npmrc npm error npm silly config load:file:/opt/homebrew/Cellar/code-server/4.96.1/libexec/etc/npmrc npm error npm verbose title npm install npm error npm verbose argv "install" "--unsafe-perm" "--omit" "dev" npm error npm verbose logfile logs-max:10 dir:/Users/brew/Library/Caches/Homebrew/npm_cache/_logs/2024-12-19T02_25_09_362Z- npm error npm verbose logfile /Users/brew/Library/Caches/Homebrew/npm_cache/_logs/2024-12-19T02_25_09_362Z-debug-0.log npm error npm silly packumentCache heap:2197815296 maxSize:549453824 maxEntrySize:274726912 npm error npm silly logfile done cleaning log files npm error npm silly idealTree buildDeps npm error npm silly placeDep ROOT [email protected] OK for: want: file:node_modules/code-server/lib/vscode npm error npm silly fetch manifest @microsoft/1ds-core-js@^3.2.13 npm error npm silly packumentCache full:https://registry.npmjs.org/@microsoft%2f1ds-core-js cache-miss npm error npm http fetch GET 200 https://registry.npmjs.org/@microsoft%2f1ds-core-js 1160ms (cache miss) npm error npm silly packumentCache full:https://registry.npmjs.org/@microsoft%2f1ds-core-js set size:undefined disposed:false npm error npm silly fetch manifest @microsoft/1ds-post-js@^3.2.13 npm error npm silly packumentCache full:https:/
# Fix broken node-addon-api: https://github.com/nodejs/node/issues/52229
ENV.append "CXXFLAGS", "-DNODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT"

Expand Down
Loading