Music-Bot
Music-Bot copied to clipboard
Unexpected token(.)
Cant figure out the issue..

create .replit and paste this there
run = "wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash && export NVM_DIR=\"$([ -z \"${XDG_CONFIG_HOME-}\" ] && printf %s \"${HOME}/.nvm\" || printf %s \"${XDG_CONFIG_HOME}/nvm\")\" && [ -s \"$NVM_DIR/nvm.sh\" ] && \\. \"$NVM_DIR/nvm.sh\" && nvm install 14 && nvm use 14 && yarn && node server"
language = "BASH"
this should upgrade the node version to 14. which will solve the issue @AdityaParmar101
Bro thanks for quick reply, btw i get this..
Update: i still get the same error when i run index.js
Hope this SS helps you..

shouldn't happen works for me
shouldn't happen works for me
Bro, try hosting it yourself on repl.it IG it would be fixed soon...
it will be fixed in the next update, thanks for your time.
Uh i did that lol . @AdityaParmar101 But it worked
Maybe, use NVM, a package manager for NodeJS, then repeat npm install. It should work.
@AdityaParmar101
create .replit and paste this there
run = "wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash && export NVM_DIR=\"$([ -z \"${XDG_CONFIG_HOME-}\" ] && printf %s \"${HOME}/.nvm\" || printf %s \"${XDG_CONFIG_HOME}/nvm\")\" && [ -s \"$NVM_DIR/nvm.sh\" ] && \\. \"$NVM_DIR/nvm.sh\" && nvm install 14 && nvm use 14 && yarn && node server" language = "BASH"this should upgrade the node version to 14. which will solve the issue @AdityaParmar101 if you use this command the node will get updated to 14 which is incompatible with this code at least that's what the console says

it will be fixed in the next update, thanks for your time.
i am using a different package in new update + its coming soon
when will you do it
same problem but i figured out! go to shell and type "npm un youtube-sr". After done uninstalling, Type "npm i youtube-sr". And you are done.