drcika / apc-extension

https://marketplace.visualstudio.com/items?itemName=drcika.apc-extension
MIT License
635 stars 26 forks source link

Apc Extension failed in windows #203

Closed Ecsilion closed 2 months ago

Ecsilion commented 3 months ago

Apc Extension failed: Error: ENOENT: no such file or directory, rename 'c:\Users\rc7ga\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\out\bootstrap-amd.js' -> 'c:\Users\rc7ga\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\out\bootstrap-amd.js.apc.extension.backup'

TakiGuan commented 3 months ago

The same

VS Code Insider latest version APC extension latest version - v0.3.9

ryan6416 commented 2 months ago

Facing the same issue in Insiders version:

Version: 1.92.0-insider
Commit: b23e791eb5afbd95f05aa24da7693ce89344a079
Date: 2024-07-09T05:03:50.549Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin arm64 23.5.0

But it's working in Stable version:

Version: 1.91.0 (Universal)
Commit: ea1445cc7016315d0f5728f8e8b12a45dc0a7286
Date: 2024-07-01T18:54:18.541Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin arm64 23.5.0

cross-post https://github.com/microsoft/vscode/issues/221311

cc: @drcika

mubaidr commented 2 months ago

Looks like file has been renamed in newer version. There is no longer bootstrap-amd.js in the resources directory.

Apc Extension failed: Error: ENOENT: no such file or directory, rename 'c:\Users\USER\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\out\bootstrap-amd.js' -> 'c:\Users\USER\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\out\bootstrap-amd.js.apc.extension.backup'
Caffeine19 commented 2 months ago

i think this would help image in src/patch.ts but havent test yet(not familay with devlop vs code extension)

ToddIndry37 commented 2 months ago

Got the same issue here. Using VS Code Insiders 1.92.

Apc Extension failed: Error: ENOENT: no such file or directory, rename 'c:\Program Files\Microsoft VS Code Insiders\resources\app\out\bootstrap-amd.js' -> 'c:\Program Files\Microsoft VS Code Insiders\resources\app\out\bootstrap-amd.js.apc.extension.backup'

ToddIndry37 commented 2 months ago

i think this would help image in src/patch.ts but havent test yet(not familay with devlop vs code extension)

Where this file located? Was it on VS Code installation folder?

Caffeine19 commented 2 months ago

i think this would help image in src/patch.ts but havent test yet(not familay with devlop vs code extension)

Where this file located? Was it on VS Code installation folder?

i just clone this repo, modify the source code and build from it, but failed to install on my vscode insiders

ToddIndry37 commented 2 months ago

Ah, I see. Seem like Microsoft changed the way to do that for APC, I suppose.

Sent from my iPhone 6+ lol

On 13 Jul 2024, at 18.37, Caffeine19 @.***> wrote:

i think this would help in src/patch.ts but havent test yet(not familay with devlop vs code extension)

Where this file located? Was it on VS Code installation folder?

i just clone this repo, modify the source code and build from it, but failed to install on my vscode insiders

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

this-fifo commented 2 months ago

It is not specific to windows, also reported here https://github.com/drcika/apc-extension/issues/198

fwiw — the file does exist on release/1.91 https://github.com/microsoft/vscode/blob/release/1.91/src/bootstrap-amd.js but I can't see any tags or branches with 1.92.0-insiders, the file also exists in the latest commit on main

CentillionJinx commented 2 months ago

What is the possible resolution for this file name change? I tried manually changing the name, but it resulted in more errors, which was expected, since it was a wild attempt.

stolinski commented 2 months ago

What is the possible resolution for this file name change? I tried manually changing the name, but it resulted in more errors, which was expected, since it was a wild attempt.

My understanding is that this extension is broken completely until they issue an update that works with the Insiders build. aka, don't use Insiders or wait for an update.

sascharo commented 2 months ago

Still the same issue with 1.92.0-insider and Apc Customize UI++ from 2024-07-29.

edgardluz commented 2 months ago

MS pushed this update to mac as well... anyone on a mac that updates VS will get this error and Apc wont work.

epulla commented 2 months ago

got the same issue with Mac, I'm using vscode installed via brew