About theia extension install

It’s log
2023-02-16T06:04:56.344Z root INFO [johnsoncodehk.volar]: trying to resolve latest version…
2023/2/16 下午2:04:562023-02-16T06:04:56.352Z root ERROR Failed to resolve plugins from ‘vscode:extension/johnsoncodehk.volar’ Error: Server returned code 404.
2023/2/16 下午2:04:56 at asText (/home/theia/node_modules/@theia/request/lib/common-request-service.js:31:19)
2023/2/16 下午2:04:56 at Object.asJson (/home/theia/node_modules/@theia/request/lib/common-request-service.js:47:21)
2023/2/16 下午2:04:56 at OVSXClient.fetchJson (/home/theia/node_modules/@theia/ovsx-client/lib/ovsx-client.js:94:41)
2023/2/16 下午2:04:56 at runMicrotasks ()
2023/2/16 下午2:04:56 at processTicksAndRejections (internal/process/task_queues.js:95:5)
2023/2/16 下午2:04:56 at async OVSXClient.getAllVersions (/home/theia/node_modules/@theia/ovsx-client/lib/ovsx-client.js:83:24)
2023/2/16 下午2:04:56 at async OVSXClient.getLatestCompatibleExtensionVersion (/home/theia/node_modules/@theia/ovsx-client/lib/ovsx-client.js:110:28)
2023/2/16 下午2:04:56 at async VSXExtensionResolver.resolve (/home/theia/node_modules/@theia/vsx-registry/lib/node/vsx-extension-resolver.js:56:25)
2023/2/16 下午2:04:56 at async PluginDeployerImpl.resolvePlugin (/home/theia/node_modules/@theia/plugin-ext/lib/main/node/plugin-deployer-impl.js:283:13)
2023/2/16 下午2:04:56 at async PluginDeployerImpl.resolveAndHandle (/home/theia/node_modules/@theia/plugin-ext/lib/main/node/plugin-deployer-impl.js:177:25)
2023/2/16 下午2:04:562023-02-16T06:04:56.352Z root INFO Deploy plugin vscode:extension/johnsoncodehk.volar: 9.5 ms [Finished 73899.345 s after backend start]
2023/2/16 下午2:04:562023-02-16T06:04:56.352Z root ERROR Request deploy failed with error: Deployment of extension with ID vscode:extension/johnsoncodehk.volar failed. Error: Deployment of extension with ID vscode:extension/johnsoncodehk.volar failed.
2023/2/16 下午2:04:56 at PluginServerHandler.deploy (/home/theia/node_modules/@theia/plugin-ext/lib/main/node/plugin-server-handler.js:41:19)
2023/2/16 下午2:04:56 at runMicrotasks ()
2023/2/16 下午2:04:56 at processTicksAndRejections (internal/process/task_queues.js:95:5)
2023/2/16 下午2:04:56 at async JsonRpcProxyFactory.onRequest (/home/theia/node_modules/@theia/core/lib/common/messaging/proxy-factory.js:132:24)
2023/2/16 下午2:04:56 at async RpcProtocol.handleRequest (/home/theia/node_modules/@theia/core/lib/common/message-rpc/rpc-protocol.js:167:28)
2023/2/16 下午2:04:562023-02-16T06:04:56.369Z root INFO [14e8693f-1328-46dc-93cd-26451aa42f39] Waiting for backend deployment: 4.5 ms [Finished 1248.219 s after frontend start]
I think the key error is ‘vscode:extension/johnsoncodehk.volar’, But I don’t know how to solve
I use the mac m1 chip using --platform linux/x86_64
After packaging the image, an error is reported when installing the plugin.
ths!

Hey @zbm0711,

can you give a bit more context on when the error occurs? It might also be a proxy issue, have you tried installing other extensions?

I can’t reproduce the error. Installing the extension works fine for me.

ths, I understand.