Comments (8)
from node_characterai.
I'm using node 18.14.2 and getting the same problem. I'm hosting on heroku.
from node_characterai.
from node_characterai.
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.
No bro using node js version 18 will affect my all scripts plugins. Please any other way to fix this?
from node_characterai.
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.
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.
After checking, node-fetch is already required in the dependencies. (in 1.0.0 at least)
from node_characterai.
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)
- error while HOT 1
- need proper documentation
- Session closed HOT 2
- On server, Chromium path for puppeteer could not be located HOT 1
- No tokens available HOT 8
- Authentication Error HOT 12
- There is no access token and id token HOT 2
- authentication issue on replit HOT 6
- #Client.generateImage() result link appears to be unavailable HOT 5
- deprecated [email protected]: < 21.3.7 is no longer supported HOT 6
- Converting circular structure to JSON --> starting at object with constructor 'Browser' | property '_defaultContext' -> object with constructor 'BrowserContext' --- property '_browser' closes the circle Are you passing a nested JSHandle? HOT 2
- Authentication methods changed HOT 9
- token is invalid. HOT 2
- Can i get avatar picture from character? HOT 1
- New Chat session HOT 5
- Cannot find module 'puppeteer-extra-plugin-stealth/evasions/chrome.app' in deployment HOT 16
- Chat.deleteMessagesBulk() seems doesn't work HOT 10
- Client.createOrContinueChat() doesn't return anything. HOT 3
- TypeError: Cannot read properties of undefined (reading 'length') HOT 5
- The example code in README.md throws an Error HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node_characterai.