node.jsvscode-extensions

Code-oss can not be localized by language pack


  1. built and executed the code-oss
git clone https://github.com/manabu-nakamura/vscode.git
cd vscode
npm install
npm run compile
.\scripts\code.bat
  1. installed the language pack (e.g., MS-CEINTL.vscode-language-pack-ja-1.99.0.vsix, https://open-vsx.org/extension/MS-CEINTL/vscode-language-pack-ja)
  2. changed language and restarted the code-oss
  3. got the following error

Error
Error launching app
Unable to find Electron app at C:\...\vscode\.build\electron
Cannot find module 'C:\...\vscode\.build\electron' 5. the code-oss is not localized

Tell me the solution.


Solution

  • To use language packs, we need a full build version of VS Code.

    npm run gulp vscode-win32-x64
    

    https://github.com/microsoft/vscode/issues/245119