Comments (10)
Oh right I forgot to respond, it's all working now, thanks for all the help!
from master-bot.
Howdy @Natemo2625
I apologize for the delay, I made an Ubuntu 23.04 VM (VirtualBox) and replicated a fresh install, there were a couple of issues that came up.
There is a quirk with permissions where Ubuntu doesn't seem to let you alter/create folders and files, unless you do sudo
in certain situations and Turbo V1.10.12 installation script is bugged for Ubuntu users specifically node 18.
Edit - i tried again but with Nodejs v20 instead and sudo pnpm install
and sudo pnpm dev
, and it installed and ran without needing to alter scripts
Changing the Turbo version to [email protected]
in ./package.json
and then running sudo pnpm install
got me past the installation error, then run sudo pnpm dev
If you run into ERROR: "watch" exited with 1
when running sudo pnpm dev
, open up ./apps/bot/package.json
and replace line 13 to "dev": "pnpm build && pnpm copy-scripts && run-p start",
I hope this helps, I went ahead and did fresh installations with Debian 10 & 11, and Ubuntu 22 VM's as well, Debian doesn't show this behavior at all, and Ubuntu 22 still needs sudo
to run the install and start scripts despite the users permissions
Much Love
-Bacon
from master-bot.
Thank you for the response @Bacon-Fixation I will try it out and see if this helps. I will also try it on a Debian VM to see if that helps as well.
Edit: did you happen to try it on Debian 12?
from master-bot.
I did, Debian 12 seems to work just fine with node 18 and node 20 just like the other Debian versions, didn't need to stray from the README steps
Ubuntu 23 VM needed to use node 20 instead and run sudo pnpm install
then sudo pnpm dev
Much Love
-Bacon
from master-bot.
Howdy @Natemo2625, just want to follow up with you and see if you are still having difficulties installing the dependencies
Much Love
-Bacon
from master-bot.
Oh my bad, I got busy, I'll try it momentarily
from master-bot.
Ok I have time to try it now, will keep you updated
from master-bot.
Ok it is working now, but apparently I can't get higher than NodeJS 18.13.0 on Debian 12, any ideas?
from master-bot.
Howdy @Natemo2625
i just followed the steps listed here https://github.com/nodesource/distributions
i adjusted the commands for v18
uninstall nodejs v18.13.0
sudo apt-get purge nodejs &&\
rm -r /etc/apt/sources.list.d/nodesource.list &&\
rm -r /etc/apt/keyrings/nodesource.gpg
Download and import the Nodesource GPG key
sudo apt-get update
sudo apt-get install -y ca-certificates curl gnupg
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
Create deb repository
NODE_MAJOR=18
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
Run Update and Install
sudo apt-get update
sudo apt-get install nodejs -y
Check version
node -v
should give you v18.17.1
i hope this helps
Much Love
-Bacon
from master-bot.
Howdy @Natemo2625, just wanted to follow up with you and the issues you were having
Much Love
-Bacon
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
- 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.