Giter Club home page Giter Club logo

Comments (8)

realcoloride avatar realcoloride commented on July 29, 2024

from node_characterai.

Naozumi520 avatar Naozumi520 commented on July 29, 2024

I'm using node 18.14.2 and getting the same problem. I'm hosting on heroku.

Screenshot 2023-03-13 at 8 20 03 PM

from node_characterai.

realcoloride avatar realcoloride commented on July 29, 2024

from node_characterai.

Naozumi520 avatar Naozumi520 commented on July 29, 2024

Thank you for your reply. Global fetch did the trick, but I got an new issue:
Error: Failed to fetch a lazy token

Update: Got the error Token is invalid if using personal token

from node_characterai.

Nessie-Dev avatar Nessie-Dev commented on July 29, 2024

No bro using node js version 18 will affect my all scripts plugins. Please any other way to fix this?

from node_characterai.

realcoloride avatar realcoloride commented on July 29, 2024

No bro using node js version 18 will affect my all scripts plugins. Please any other way to fix this?

I could try pushing an experimental update that requires node-fetch in the dependencies when done fixing #13 & #14 - Currently solving multiple problems, so it would be better if I pushed one common update.

I will keep you updated, in the meantime, either upgrade to node >18 (19 is preferred) or wait for a new update.

Sorry for the inconvenience!

from node_characterai.

realcoloride avatar realcoloride commented on July 29, 2024

Update 1 - Related to issue #11, quote:

I upgraded to v18 so for me it's not a problem anymore. But if you want to make it compatible with older versions, you could just use the node-fetch library instead. All you have to do is import it.

image

After checking, node-fetch is already required in the dependencies. (in 1.0.0 at least)

from node_characterai.

realcoloride avatar realcoloride commented on July 29, 2024

Merging all updates for 1.1.1 in a new issue: #17.
Thank you for your understanding and patience.

from node_characterai.

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.