Comments (11)
karna ternary methode itu hanya support di nodejs v16 keatas ,
default install nodejs pada saat pertama install di ubuntu itu versi 12 , jadi harus di upgrade versi nodejs nya
sudo npm install -g n
n install lts
hash -r
from wa-openai.
Vps azure?
from wa-openai.
localhost
from wa-openai.
im using linux LTS
sebelum nya normal, tapi setelah saya ganti device hp malah jadi kayak gitu
from wa-openai.
Byk juga yg ngalamin ini tapi saya blm nemu solusinya😁.
Mungkin teman-teman yang lain bisa bantu
from wa-openai.
It looks like there is a problem with the JavaScript syntax on line 226 of your index.js file.
It seems that your code is trying to use this operator, but it is not supported in the version of JavaScript that you are using. To fix the error, you will need to either update to a newer version of JavaScript that supports the optional chaining operator, or use a different technique to access the property that you need.
let reason;
if (lastDisconnect && lastDisconnect.error) {
reason = new Boom(lastDisconnect.error).output.statusCode;
}
This code uses an if statement to check if the lastDisconnect and lastDisconnect.error objects exist before trying to access their properties. #fix
from wa-openai.
sama bang cara solved nya gmna ya??
from wa-openai.
tetap error bang udh hapus repo install ulang lgi
from wa-openai.
Solved gan , harus pake node versi 16 untuk solved di vps/c9 gunakan command ini
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
source ~/.bashrc
nvm install 16
nvm use 16
node -v
from wa-openai.
eror:openai.createChatCompletion is not a function
plase solution please...
from wa-openai.
You need to update the OpenAI package
npm update openai
from wa-openai.
Related Issues (20)
- Hlo
- hello how to add update message function in this code(WhatsApp message edit)
- END-TO-END message ecrption
- Features Request
- sk-proj-aHpPMPj5j8fS52KiVUjCT3BlbkFJXcGLQe32Gi2gqGaV5pSW
- Gemini AI
- No user message in reply and remove / from command
- How i fix this?
- how do I send a message to the user when he sends something that is not within the commands? HOT 1
- How to set opening hours? HOT 12
- how i sent one image in reply to user? HOT 1
- message history with vector embedding HOT 1
- muncul pesan: apikey belum diisi HOT 4
- Tidak merespon chat sblmnya HOT 1
- message history with vector embedding Infinite Memory
- cara menghilangkan /ai saat chat di wa HOT 1
- How to solve this problem HOT 1
- change adiwajshing/baileys to whiskeysockets/baileys
- Cannot read properties of undefined (reading 'caption')
- Sudah di tambahkan autoAI: true di key.json kenapa tidak bisa jalan otomatis?
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 wa-openai.