GithubHelp home page GithubHelp logo

Comments (6)

ido-pluto avatar ido-pluto commented on June 19, 2024

Actually, I created something like that, currently, this is in the preview. You can install this version like that:

npm i -g catai@1

I did not release that because I need more feedback, I am unsure what bug there is and what more would be good.
If you have feedback, it will be much appreciated :)

from catai.

Koliham avatar Koliham commented on June 19, 2024

Got an error installing it with "npm i -g catai@1"

npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=19' },
npm WARN EBADENGINE   current: { node: 'v18.16.0', npm: '9.5.1' }
npm WARN EBADENGINE }
npm ERR! code 1
npm ERR! path /usr/local/lib/node_modules/catai
npm ERR! command failed
npm ERR! command sh -c node scripts/migration/index.js
npm ERR! node:internal/process/promises:288
npm ERR!             triggerUncaughtException(err, true /* fromPromise */);
npm ERR!             ^
npm ERR!
npm ERR! [Error: ENOENT: no such file or directory, scandir '/root/catai/models'] {
npm ERR!   errno: -2,
npm ERR!   code: 'ENOENT',
npm ERR!   syscall: 'scandir',
npm ERR!   path: '/root/catai/models'
npm ERR! }
npm ERR!
npm ERR! Node.js v18.16.0

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-06-21T19_05_01_337Z-debug-0.log

My current models directory is in /home/myusername/catai/models
Did version 1 change the models path?

from catai.

ido-pluto avatar ido-pluto commented on June 19, 2024

No, but it migrates changes from version 0 to 1.

Try to update nodejs to version 20, and try again.

Did you run this with sudo? That weird he thinks your home directory is root

from catai.

Koliham avatar Koliham commented on June 19, 2024

I had permission issues with some folders:

npm ERR! Error: EACCES: permission denied, symlink '../lib/node_modules/catai/scripts/cli.js' -> '/usr/bin/catai'
npm ERR!  [Error: EACCES: permission denied, symlink '../lib/node_modules/catai/scripts/cli.js' -> '/usr/bin/catai']

But I was finally able to install it:

  • Can you implement a "--hide-settings" function so it is possible to host the application for external users without giving them access to sensitive settings?
  • Can you check the height of the dialog:
    grafik

from catai.

ido-pluto avatar ido-pluto commented on June 19, 2024

You can set the environment variable 'CATAI_ADMIN_SETTINGS' to false.
I will check the dialog model, what is the height of your screen?

from catai.

ido-pluto avatar ido-pluto commented on June 19, 2024

Fixed, on version 1.0.2

from catai.

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.