Comments (10)
I'm not sure if this info is helpful,
Sidenote -$
in the url will trigger both these errors, BUT${whatever}
,${}
, or\$
in the url will not trigger any errors at build
, oddly if there is a$
in theDATABASE_URL
will still give these errors for theNEXT_PUBLIC_INVITE_URL
, despite the$
being in the DB URL string
This Information was very helpful. The links were alright, but the password contained a $. After removing it, it worked like it should. Thank you very much once again Bacon!
from master-bot.
I'm not sure if this info is helpful,
Sidenote -$
in the url will trigger both these errors, BUT${whatever}
,${}
, or\$
in the url will not trigger any errors at build
, oddly if there is a$
in theDATABASE_URL
will still give these errors for theNEXT_PUBLIC_INVITE_URL
, despite the$
being in the DB URL stringThis Information was very helpful. The links were alright, but the password contained a $. After removing it, it worked like it should. Thank you very much once again Bacon!
Awesome, enjoy!
@Bacon-Fixation great stuff!
from master-bot.
Howdy, was able to replicate this error message
Make sure the .env
is in the root folder, and run npm run dev
in root folder.
I get this error when I try to start the dashboard and bot separately with .env
in the wrong folder
noticed the first command in log is not "npm run copy-env && concurrently "npm run dev:dashboard" "npm run dev:bot"
in log, strongly indicates npm run dev
was not ran in root folder
I hope this helps
Much Love
-Bacon
from master-bot.
been trying to match the Errors more exact,
i was able to get both sets of errors to appear when there is a $
in the NEXT_PUBLIC_INVITE_URL
url string.
Example
NEXT_PUBLIC_INVITE_URL="https://discord.com/api/oauth2/authorize?client_id=yourclientid&permissions=8&scope=bot$"
https://pastebin.com/TJwnD9qm (Replicated Error with .env in proper place and followed README as presented)
I'm not sure if this info is helpful,
Sidenote - $
in the url will trigger both these errors, BUT ${whatever}
, ${}
, or \$
in the url will not trigger any errors at build
, oddly if there is a $
in the DATABASE_URL
will still give these errors for the NEXT_PUBLIC_INVITE_URL
, despite the $
being in the DB URL string
Edit (i can confirm $
can be used to expand a key in the .env
file, shenanigans like this work)
POSTGRES_HOST=localhost
POSTGRES_USER=bacon
POSTGRES_PORT=5432
POSTGRES_PASSWORD=""
POSTGRES_DB_NAME=master-bot
DATABASE_URL="postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST:$POSTGRES_PORT/$POSTGRES_DB_NAME?schema=public"
Much Love
-Bacon
from master-bot.
Howdy, was able to replicate this error message
Make sure the
.env
is in the root folder, and runnpm run dev
in root folder.I get this error when I try to start the dashboard and bot separately with
.env
in the wrong foldernoticed the first command in log is not
"npm run copy-env && concurrently "npm run dev:dashboard" "npm run dev:bot"
in log, strongly indicatesnpm run dev
was not ran in root folderI hope this helps
Much Love -Bacon
This, make sure your .env file is in the root folder of the project
from master-bot.
This should be correct :?
from master-bot.
Yep yep, that is the correct place for the .env
,
I'm not sure why the src
folder is there tho. Maybe try cloning the repo to a new folder, and copy over your .env
, and run the npm i
, then npm run dev
, and see if you get this error again.
I am curious if this is from a git pull
that possibly failed
Much Love
-Bacon
from master-bot.
I think there was a problem after I cloned the repo in the past. Yesterday I wanted to update and run the new bot. That seemed to run with no problems.
I deleted the directory and cloned the repo again. Now the source folder is gone, but the problem still exists.
from master-bot.
@TrueMB Does your .env look like .env.example?
You have files that are not in the repo like start_Masterbot.sh and you shouldn't be running the bot in this way. If you clone the repo and follow the readme you will get the bot running in a short time
from master-bot.
Yes, I followed the instructions as far as I could understand it.
I copied the values from the .env file also in a new copy of the .env.example, since I wasn't sure, if it was the newest. Ofc I renamed it again .env.
I also use in my tests the named command above. I plan in the future to start the bot through a screen command (this is what the file does), but not yet.
from master-bot.
Related Issues (20)
- Discussion - bot compatibility with other bots HOT 9
- Invalid enviroment Variables on startup HOT 3
- Crash when attempting to play song HOT 8
- Try signing in with a different account HOT 5
- napi-rs/canvas is not marked as a dependency
- Twitch command not working HOT 4
- Top and Controversial not working in Reddit command HOT 2
- Error: P1000: Authentication failed against database server at `localhost` HOT 5
- npm run dev:bot exited with code -4058 & npm run dev:dashboard exited with code -4058 HOT 8
- `npm run dev` outputting multiple errors HOT 1
- Features to be added back after turborepo rewrite HOT 2
- pnpm i fails HOT 10
- STUCK : Watching for files changes HOT 9
- Not able to access website and bot not responding on discord. HOT 3
- Docker Deployment HOT 2
- My Bot Crash, I`m not able to deploy it on my computer HOT 1
- playlist commands are not working
- Bot joins call after a song is requested, and quits when the song is about to play HOT 1
- Auto db push for guilds HOT 2
- Motivation command no longer works
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 master-bot.