Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

500 mod.loadCodeWithNls is not a function (Have you applied the patches? If so, VS Code may still be compiling)#7392

Answeredbycode-asher
Cathrine0813 asked this question inQ&A
Discussion options

node:v22.15.1
macOs:15.5 (24F74)
code-server:4.101.1
vscode:1.101.1

runquilt push -a
CathrinedeMacBook-Pro:code-server-4.101.1 cathrine$ quilt push -a Applying patch patches/base-path.diff patching file 'lib/vscode/src/vs/base/common/network.ts' Can't backup '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchoTwwJmcFTDF', output is in '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchoTwwJmcFTDF': No such file or directory patching file 'lib/vscode/src/vs/code/browser/workbench/workbench-dev.html' Can't backup '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchoTwwJmcFTDF', output is in '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchoTwwJmcFTDF': No such file or directory 2 out of 3 hunks failed--saving rejects to 'lib/vscode/src/vs/code/browser/workbench/workbench-dev.html.rej' Can't backup '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchr8wtPNyCGXi', output is in '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchr8wtPNyCGXi': No such file or directory patching file 'lib/vscode/src/vs/code/browser/workbench/workbench.html' Can't backup '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchoTwwJmcFTDF', output is in '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchoTwwJmcFTDF': No such file or directory 2 out of 3 hunks failed--saving rejects to 'lib/vscode/src/vs/code/browser/workbench/workbench.html.rej' Can't backup '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchr8wtPNyCGXi', output is in '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchr8wtPNyCGXi': No such file or directory patching file 'lib/vscode/src/vs/platform/remote/browser/browserSocketFactory.ts' Can't backup '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchoTwwJmcFTDF', output is in '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchoTwwJmcFTDF': No such file or directory patching file 'lib/vscode/src/vs/server/node/webClientServer.ts' Can't backup '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchoTwwJmcFTDF', output is in '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchoTwwJmcFTDF': No such file or directory 1 out of 6 hunks failed--saving rejects to 'lib/vscode/src/vs/server/node/webClientServer.ts.rej' Can't backup '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchr8wtPNyCGXi', output is in '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchr8wtPNyCGXi': No such file or directory patching file 'lib/vscode/src/vs/base/common/product.ts' Can't backup '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchoTwwJmcFTDF', output is in '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchoTwwJmcFTDF': No such file or directory 1 out of 1 hunks failed--saving rejects to 'lib/vscode/src/vs/base/common/product.ts.rej' Can't backup '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchr8wtPNyCGXi', output is in '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchr8wtPNyCGXi': No such file or directory patching file 'lib/vscode/src/vs/code/browser/workbench/workbench.ts' Can't backup '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchoTwwJmcFTDF', output is in '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchoTwwJmcFTDF': No such file or directory patching file 'lib/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.ts' Can't backup '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchoTwwJmcFTDF', output is in '/var/folders/vy/4r78zlwj285_fwc62cl8n5dw0000gn/T/patchoTwwJmcFTDF': No such file or directory Patch patches/base-path.diff does not apply (enforce with -f) CathrinedeMacBook-Pro:code-server-4.101.1 cathrine$

npm run watch
image

how to fix this problem?
image

You must be logged in to vote

Oh apparently users have ran into this before:#5770 (comment)

Looks like the issue is withpatch on macOS. Apparently you can install a working version withbrew install gpatch and then restarting your terminal.

Replies: 1 comment 5 replies

Comment options

It looks like the patches failed to apply. Did you clone the submodule before patching?git submodule update --init

You must be logged in to vote
5 replies
@Cathrine0813
Comment options

yes, i run git submodule update --init
but still not work
image
image

@code-asher
Comment options

Oh apparently users have ran into this before:#5770 (comment)

Looks like the issue is withpatch on macOS. Apparently you can install a working version withbrew install gpatch and then restarting your terminal.

Answer selected byCathrine0813
@Cathrine0813
Comment options

it still not work

imageimageimage
@code-asher
Comment options

Looks like progress at least, no more "no such file" errors.

If the patches are being rejected it means one of at least two things:

  1. The wrong version of VS Code is checked out.
  2. There are changes that have been made to VS Code that cause the patches to fail.

I wouldcd intolib/vscode, check that there are no changes and discard any if there are (perhaps withgit clean), and make sure it is on the right branch (looks like1.101.1 in your case). Or you could try re-cloning the project.

@Cathrine0813
Comment options

I re-cloned the project, it work! thanks you

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@Cathrine0813@code-asher

[8]ページ先頭

©2009-2025 Movatter.jp