twinny icon indicating copy to clipboard operation
twinny copied to clipboard

[BUG]: Twinny doesn't work on Aarch64/Arm64 Debian Bookworm

Open JEleniel opened this issue 10 months ago • 2 comments

Describe the bug Twinny silently fails to load. The top bar has a constant progress indicator and clicking on any icon results in command 'twinny.*' not found.

To Reproduce

  1. Install Twinny in VSCodium on Debian Bookworm on Aarch64/Arm64 (e.g. a Raspberry Pi 5)
  2. Open VSCodium
  3. Click on the Twinny icon, then attempt to use any Twinny feature

Expected behavior Twinny loads and works properly.

Logging Logging is enabled but no logs are generated.

API Provider Ollama http://hostname:11434

Chat or Auto Complete? N/A It never gets that far.

Model Name qwen2.5-coder

Desktop (please complete the following information):

  • OS: Debian GNU/Linux 12 (bookworm) arm64
  • Version 3.13.20

IDE: VSCodium Version: 1.97.2 Release: 25045 Commit: 7211e5a20b57d2e57d119144ac954542a24b547b Date: 2025-02-14T18:21:12.766Z Electron: 32.2.7 ElectronBuildId: undefined Chromium: 128.0.6613.186 Node.js: 20.18.1 V8: 12.8.374.38-electron.0 OS: Linux arm64 6.6.74+rpt-rpi-2712

Additional context It appears that there may be a lack of ARM support for some components. Attempting a manual install of dependencies results in the following:

$ pnpm i -P --frozen-lockfile
Lockfile is up to date, resolution step is skipped
Packages: -35
-----------------------------------
 WARN  Failed to create bin at /home/jeleniel/.vscode-oss/extensions/rjmacarthy.twinny-3.13.20-linux-arm64/node_modules/.pnpm/node_modules/.bin/arrow2csv. ENOENT: no such file or directory, open '/home/jeleniel/.vscode-oss/extensions/rjmacarthy.twinny-3.13.20-linux-arm64/node_modules/.pnpm/node_modules/apache-arrow/bin/arrow2csv.cjs'
 WARN  Failed to create bin at /home/jeleniel/.vscode-oss/extensions/rjmacarthy.twinny-3.13.20-linux-arm64/node_modules/.pnpm/@[email protected]/node_modules/@lancedb/lancedb/node_modules/.bin/arrow2csv. ENOENT: no such file or directory, open '/home/jeleniel/.vscode-oss/extensions/rjmacarthy.twinny-3.13.20-linux-arm64/node_modules/.pnpm/@[email protected]/node_modules/apache-arrow/bin/arrow2csv.cjs'

devDependencies:
- @hyrious/esbuild-plugin-commonjs 0.2.4
- @types/async-lock 1.4.2
- @types/minimatch 5.1.2
- @types/mocha 10.0.10
- @types/node 16.18.126
- @types/react-dom 18.3.5
- @types/react-syntax-highlighter 15.5.13
- @types/string_score 0.1.31
- @types/uuid 9.0.8
- @types/vscode 1.97.0
- @typescript-eslint/eslint-plugin 5.62.0
- @typescript-eslint/parser 5.62.0
- @vscode/test-cli 0.0.6
- @vscode/test-electron 2.4.1
- copy-webpack-plugin 12.0.2
- css-loader 6.11.0
- esbuild 0.21.5
- esbuild-css-modules-plugin 3.1.4
- esbuild-plugin-copy 2.1.1
- jest 29.7.0
- mocha 10.8.2
- ncp 2.0.0
- rimraf 5.0.10
- style-loader 3.3.4
- tree-sitter-wasms 0.1.12
- ts-loader 9.5.2
- typescript 4.9.5
- web-tree-sitter 0.22.6

JEleniel avatar Feb 15 '25 14:02 JEleniel

Looks like it doesn't work in Windows 11 Aarch64/Arm64 either. 👎

TimMensch avatar Feb 22 '25 23:02 TimMensch

Hey, probably due to the GitHub build action. Feel free to submit a pr to fix it if you can.

rjmacarthy avatar Feb 23 '25 10:02 rjmacarthy

Hey, I just published a new version with arm in the github action, please help report back.

rjmacarthy avatar Jul 01 '25 18:07 rjmacarthy

It seems to be working, now I just have to figure out how to get the "AI" to stop fabricating bad code.

JEleniel avatar Jul 26 '25 15:07 JEleniel