Code Monkey home page Code Monkey logo

Comments (10)

Natemo2625 avatar Natemo2625 commented on June 24, 2024 1

Oh right I forgot to respond, it's all working now, thanks for all the help!

from master-bot.

Bacon-Fixation avatar Bacon-Fixation commented on June 24, 2024

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.

Natemo2625 avatar Natemo2625 commented on June 24, 2024

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.

Bacon-Fixation avatar Bacon-Fixation commented on June 24, 2024

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.

Bacon-Fixation avatar Bacon-Fixation commented on June 24, 2024

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.

Natemo2625 avatar Natemo2625 commented on June 24, 2024

Oh my bad, I got busy, I'll try it momentarily

from master-bot.

Natemo2625 avatar Natemo2625 commented on June 24, 2024

Ok I have time to try it now, will keep you updated

from master-bot.

Natemo2625 avatar Natemo2625 commented on June 24, 2024

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.

Bacon-Fixation avatar Bacon-Fixation commented on June 24, 2024

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.

Bacon-Fixation avatar Bacon-Fixation commented on June 24, 2024

Howdy @Natemo2625, just wanted to follow up with you and the issues you were having

Much Love
-Bacon

from master-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.