Code Monkey home page Code Monkey logo

Comments (3)

Dueel avatar Dueel commented on August 22, 2024

Hello there,
I was looking around at the issue and I discovered that moving the gpt4all-lora-quantized-win64.exe file (renamed to gpt4all.exe) from the gpt4all chat folder to .nomic/ directory appears to have resolved the problem.

from gpt4all-ts.

dstults avatar dstults commented on August 22, 2024

I can confirm, the root cause is that the source code downloads the .exe file as gpt4all (without the file extension) but the second you try to run an executable in Windows-based CLIs that doesn't explicitly have .exe or other file type causes the child_process that spawns to not know what default behavior to assume with the file and thus it will fail to execute.

Simply by keeping the name "as-is" and running the exe file that you download as an exe file should resolve the problem.
The workaround I used because I didn't have to worry about breaking anyone else's computer was this:

...
// Added .exe here:
this.executablePath = `${os.homedir()}/.nomic/gpt4all.exe`;
...

from gpt4all-ts.

arielff3 avatar arielff3 commented on August 22, 2024

I opened a pr for this: #11

from gpt4all-ts.

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.