Giter Club home page Giter Club logo

Comments (7)

thinkverse avatar thinkverse commented on July 17, 2024 1

This seems like an issue that should be created on https://github.com/ollama/ollama-js instead.

from ollama.

pdevine avatar pdevine commented on July 17, 2024

cc @BruceMacD

from ollama.

ejgutierrez74 avatar ejgutierrez74 commented on July 17, 2024

Then should i post in ollama-js ?? But i only installed ollama ( npm install ollama) in my project. Not ollamajs....
Hope this could be fixed soon...
Thanks

from ollama.

thinkverse avatar thinkverse commented on July 17, 2024

Then should i post in ollama-js ?? But i only installed ollama ( npm install ollama) in my project. Not ollamajs....

ollama/ollama-js is the repository for the npm package. This repository ollama/ollama, is for the actual Ollama service you install on your computer or server, not the npm package. It's for the service the npm package interacts with.

And you don't have to post it again there, the Ollama team can transfer the issue over manually. 👍

from ollama.

imareo avatar imareo commented on July 17, 2024

import fs, { promises, createReadStream } from 'fs';

you can't use 'fs/promises' inside browser.

maybe help this: vitejs/vite#8799 (reply in thread)
in my case I rewrite code using api.

from ollama.

ejgutierrez74 avatar ejgutierrez74 commented on July 17, 2024

The link you provided is broken....

But the thing is that in dev mode it hasnt any problems....

from ollama.

imareo avatar imareo commented on July 17, 2024

vite build dist for browser, for run dev mode used nodejs

from ollama.

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.