Giter Club home page Giter Club logo

Comments (12)

jonfairbanks avatar jonfairbanks commented on June 11, 2024 1

I also had this issue and resolved in by updating my copy of VSCode.

Fwiw, I am also running Node v18.16.0.

from continue.

vlsav avatar vlsav commented on June 11, 2024 1

I don't have admin rights on that PC. So just Python (reason for llama-cpp-python) and existing vscode. Hopefully, it will be upgraded sooner or later, but I am not able to do it myself.
I am still able to do it on another PC, but if there is no dependency, it will be helpful if it would be possible to use older vscode as well. Thank you for support!

from continue.

vlsav avatar vlsav commented on June 11, 2024 1

Upgraded to latest version. Strangely my deepseek and mistrial disappeared from model selection. I see notification:
Error loading config.json. please check your config.json file:
Error: Build Error. Please check your ~/.continue/config.ts file:
Error: spawn UNKNOWN

from continue.

surak avatar surak commented on June 11, 2024 1

Upgraded to latest version. Strangely my deepseek and mistrial disappeared from model selection. I see notification: Error loading config.json. please check your config.json file: Error: Build Error. Please check your ~/.continue/config.ts file: Error: spawn UNKNOWN

Please check #828

from continue.

vlsav avatar vlsav commented on June 11, 2024 1

Upgraded to latest version 0.9.53. Same story, no changes:
"Strangely my deepseek and mistrial disappeared from model selection. I see notification:
Error loading configuration.json. please check your config.json file:
Error: Build Error. Please check your ~/.continue/config.ts file:
Error: spawn UNKNOWN"

I also tried to uninstall, remove old ~/.continue/* then install again. I am encountering the same error even without adding deepseek, mistral local models because I can't add them now due to this error.

from continue.

vlsav avatar vlsav commented on June 11, 2024 1

With continue version 0.9.73 no issues. It just took my existing config with deepseek and communicates with local OpenAI endpoint of llama_cpp_python without issues. Results itself a bit confusing, but working.
So closing this issue

from continue.

sestinj avatar sestinj commented on June 11, 2024

@vlsav We don't directly use TransformStream which leads me to believe this is a Node version compatibility issue (it was only introduced in Node version 18 as noted here). Would you mind checking the Node version that you VS Code uses? This should be displayed in the same menu that shows the VS Code version.

Assuming that this is the case, the current workaround would be to upgrade your Node and/or VS Code version.

In the next few days a set of changes I am making to use node-fetch instead of undici should resolve this for good

from continue.

vlsav avatar vlsav commented on June 11, 2024

Node.js version is 16.17.1, so it is a root of the issue.
Unfortunately, there is no chance to update the vscode in the near future.

from continue.

sestinj avatar sestinj commented on June 11, 2024

@vlsav thanks for sharing. I'd be curious to know why if you're able to share (and I really mean this out of curiosity only, because if it turned out to be super common, then we would start paying more attention to version compatibilities)

I'm getting close to the fix that may or may not solve the issue anyway, hopefully have an update tomorrow

from continue.

sestinj avatar sestinj commented on June 11, 2024

@vlsav If you're interested in giving it a try, we just switched to using node-fetch, which seems to be compatible all the way back to Node 12 (https://www.npmjs.com/package/node-fetch#:~:text=current%20stable%20release%20(3.x)%20requires%20at%20least%20node.js%2012.20.0.). There's at least some chance this would solve the problem

from continue.

sestinj avatar sestinj commented on June 11, 2024

@vlsav there was a problem loading the config in dev containers that is now solved in 0.9.52. does this solve your problem, or might something else be happening?

from continue.

mac5yver avatar mac5yver commented on June 11, 2024

Upgraded to latest version. Strangely my deepseek and mistrial disappeared from model selection. I see notification: Error loading config.json. please check your config.json file: Error: Build Error. Please check your ~/.continue/config.ts file: Error: spawn UNKNOWN

Same issue here. Can't use Continue because I can't modify and save config.json with error:
"Error loading config.json. Please check your config.json file: Error: Build error. Please check your ~/.continue/config.ts file: Error: spawn UNKNOWN"

Windows 11 22H2
Continue Version: 0.9.62
VS Code

from continue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.