-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I keep getting the following message #11
Comments
Riona-AI-Agent % npm start
info: Starting Instagram agent... {"timestamp":"11:13:39 PM"} (Use info: Server is running on port 3000 {"timestamp":"11:13:39 PM"} |
same here |
Check the
|
Hey you need to use the following format: this works for me ;) |
After adding this line I get the following error: MongoDB connection error: connect ECONNREFUSED ::1:27017, connect ECONNREFUSED 127.0.0.1:27017 {"errorLabelSet":{},"reason":{"commonWireVersion":0,"compatible":true,"heartbeatFrequencyMS":10000,"localThresholdMS":15,"logicalSessionTimeoutMinutes":null,"maxElectionId":null,"maxSetVersion":null,"servers":{"localhost:27017":{"$clusterTime":null,"address":"localhost:27017","arbiters":[],"electionId":null,"error":{"beforeHandshake":false,"errorLabelSet":{}},"hosts":[],"iscryptd":false,"lastUpdateTime":71702342,"lastWriteDate":0,"logicalSessionTimeoutMinutes":null,"maxBsonObjectSize":null,"maxMessageSizeBytes":null,"maxWireVersion":0,"maxWriteBatchSize":null,"me":null,"minRoundTripTime":0,"minWireVersion":0,"passives":[],"primary":null,"roundTripTime":-1,"setName":null,"setVersion":null,"tags":{},"topologyVersion":null,"type":"Unknown"}},"setName":null,"stale":false,"type":"Unknown"},"stack":"MongooseServerSelectionError: connect ECONNREFUSED ::1:27017, connect ECONNREFUSED 127.0.0.1:27017\n at _handleConnectionErrors (C:\Development\Riona-AI-Agent\node_modules\mongoose\lib\connection.js:1154:11)\n at NativeConnection.openUri (C:\Development\Riona-AI-Agent\node_modules\mongoose\lib\connection.js:1085:11)\n at async connectDB (C:\Development\Riona-AI-Agent\build\config\db.js:11:9)","timestamp":"9:15:17 AM"} Do you perhaps know what else needs to be done? |
Ok, so the solution here is to update your .env file monogodb to the following: MONGODB_URI= mongodb://db-username:[email protected]:27017 |
I pasted this in to my env file: MONGODB_URI= mongodb://db-username:[email protected]:27017 Then I got this on terminal: info: Starting Instagram agent... {"timestamp":"11:18:33 AM"} |
Uncaught SyntaxError: Unexpected identifier 'Riona'
The text was updated successfully, but these errors were encountered: