Skip to content
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

Spotify error #13

Open
Vulwsztyn opened this issue Jan 17, 2023 · 0 comments
Open

Spotify error #13

Vulwsztyn opened this issue Jan 17, 2023 · 0 comments
Assignees

Comments

@Vulwsztyn
Copy link
Owner

ubuntu@instance-20210423-1513:~$ yarn start
yarn run v1.22.19
error Couldn't find a package.json file in "/home/ubuntu"
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ubuntu@instance-20210423-1513:~$ cd
.bash_history              .npm/                      .yarn/                     music-bot/
.bash_logout               .profile                   .yarnrc                    rythm-manager/
.bashrc                    .ssh/                      JMusicBot-0.3.6.jar        server_test/
.cache/                    .sudo_as_admin_successful  Lavalink.jar
.config/                   .vscode-server/            application.yaml
.local/                    .wget-hsts                 logs/
ubuntu@instance-20210423-1513:~$ cd music-bot/
ubuntu@instance-20210423-1513:~/music-bot$ yarn start
yarn run v1.22.19
$ yarn dev --force-sync
$ yarn build && node . --force-sync
$ yarn clean && tsc
$ rimraf dist
[discord] slash commands: removing 0, adding 0, updating 14
[discord] ready!
[music] now connected to lavalink
/home/ubuntu/music-bot/node_modules/@lavaclient/spotify/dist/lib/item/SpotifyAlbumLoader.js:30
            tracks: album.tracks.items,
                                 ^

TypeError: Cannot read properties of undefined (reading 'items')
    at SpotifyAlbumLoader.load (/home/ubuntu/music-bot/node_modules/@lavaclient/spotify/dist/lib/item/SpotifyAlbumLoader.js:30:34)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async SpotifyManager.load (/home/ubuntu/music-bot/node_modules/@lavaclient/spotify/dist/lib/SpotifyManager.js:84:22)
    at async Play (/home/ubuntu/music-bot/dist/functions/Play.js:18:26)
    at async Object.play (/home/ubuntu/music-bot/dist/lib/messageCommands.js:54:13)
    at async Bot.handleMessage (/home/ubuntu/music-bot/dist/lib/Bot.js:51:17)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@Vulwsztyn Vulwsztyn self-assigned this Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant