-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
code-server 4.6.1 #109430
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.6.1 #109430
Conversation
Error: An exception occurred within a child process:
NameError: uninitialized constant Language::Node Hmm... gotta figure this out |
@@ -27,7 +28,7 @@ class CodeServer < Formula | |||
|
|||
def install | |||
node = Formula["node@16"] | |||
system "yarn", "--production", "--frozen-lockfile" | |||
system "npm", "install", *Language::Node.std_npm_install_args(libexec), "--unsafe-perm" | |||
# @parcel/watcher bundles all binaries for other platforms & architectures | |||
# This deletes the non-matching architecture otherwise brew audit will complain. | |||
prebuilds = buildpath/"lib/vscode/node_modules/@parcel/watcher/prebuilds" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try removing the two rmtree
s below, including this line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! I'll try that now.
Really not sure on this one. The modules should be there but they're not. Going to see if I can reproduce locally and debug. |
Roughly speaking, this is what should be happening:
|
Looks like we need a change in code-server to fix this. Once we do that, I'll update this PR. Relevant changes: coder/code-server#5533 |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. To keep this pull request open, add a |
Created with
brew bump-formula-pr
in favor of #109321