Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run package to test new contribution #3825

Open
2 of 3 tasks
elliotvaucher opened this issue Jan 23, 2025 · 0 comments
Open
2 of 3 tasks

Can't run package to test new contribution #3825

elliotvaucher opened this issue Jan 23, 2025 · 0 comments
Assignees
Labels
area:build Relates to building extensions from source kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"

Comments

@elliotvaucher
Copy link

Before submitting your bug report

Relevant environment info

- OS:macOS
- Continue version: v0.8.67
- IDE version: Cursor

Description

Hello everyone,

  • I'm trying to add a new model provider (namely Infomaniak, which is a Swiss IT actor hosting LLama models on Swiss servers) in Continue.
  • I've added the Infomaniak.ts in llm/llms
  • Added Infomaniak in index.ts
  • Changed the config_schema.json accordingly
  • Each time I'm trying to run npm run package to package the extension and see if the new LLM provider works, I'm getting the following error.
  • I've also tried using Run and Debug, but I can't find where to change the config.json file to update the available model list

Thanks.

To reproduce

No response

Log output

(base) X@X-MBP vscode % npm run package

> [email protected] prepackage
> node scripts/prepackage.js

[info] Using target:  darwin-x64
[info] Packaging extension for target  darwin-x64
[info] npm install in extensions/vscode completed
[info] npm install in gui completed
node:fs:3029
  binding.copyFile(
          ^

Error: ENOENT: no such file or directory, copyfile '../extensions/vscode/gui/onigasm.wasm' -> '../extensions/intellij/src/main/resources/webview/onigasm.wasm'
    at Object.copyFileSync (node:fs:3029:11)
    at /Users/elliot/Documents/continue/extensions/vscode/scripts/prepackage.js:110:6
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'copyfile',
  path: '../extensions/vscode/gui/onigasm.wasm',
  dest: '../extensions/intellij/src/main/resources/webview/onigasm.wasm'
}

Node.js v20.11.0
@dosubot dosubot bot added area:build Relates to building extensions from source kind:bug Indicates an unexpected problem or unintended behavior labels Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:build Relates to building extensions from source kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"
Projects
None yet
Development

No branches or pull requests

2 participants