Comments (5)
Yeah, I've been noticed about this by another team member of the project yesterday. Same as you, I'm still unable to use the loader thingy. I can't understand a thing from the docs.
For now, you can use the fix you detailed in your issue as a workaround while we try to fix this.
from rawon.
This should be fixed with the latest commit I did.
from rawon.
This should be fixed with the latest commit I did.
I appreciate your time on fixing this issue. Unfortunately, I'm still unable to run Rawon on the latest commit. I ran a new install of Rawon with Node v20.10.0
and v20.11.0
(latest LTS) and was unable to start it:
user@mihari:~/rawon$ npm start
> [email protected] start
> node --es-module-specifier-resolution=node -r dotenv/config .
[INFO] Couldn't find FFmpeg/avconv, trying to install ffmpeg-static...
[INFO] ffmpeg-static has been installed.
[INFO] Starting the bot...
[2024-01-13 20:51:54 (-05)] [info]: [ShardManager] Shard #0 has spawned.
[2024-01-13 20:51:54 (-05)] [info]: [ShardManager] All shards are spawned successfully.
[2024-01-13 20:51:58 (-05)] [info]: Loading 10 events...
[2024-01-13 20:51:59 (-05)] [info]: Events on listener channelUpdate has been added.
[2024-01-13 20:51:59 (-05)] [info]: Events on listener debug has been added.
[2024-01-13 20:51:59 (-05)] [info]: Events on listener error has been added.
[2024-01-13 20:51:59 (-05)] [info]: Events on listener guildBanAdd has been added.
[2024-01-13 20:51:59 (-05)] [info]: Events on listener guildBanRemove has been added.
[2024-01-13 20:51:59 (-05)] [info]: Events on listener interactionCreate has been added.
[2024-01-13 20:51:59 (-05)] [info]: Events on listener messageCreate has been added.
[2024-01-13 20:51:59 (-05)] [error]: EVENTS_LOADER_ERR: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './locale/index.js' is not defined by "exports" in /home/user/rawon/node_modules/date-fns/package.json imported from /home/user/rawon/dist/utils/functions/formatMS.js
[2024-01-13 20:51:59 (-05)] [info]: Done loading events.
I did manage to fix the event load error it by reverting the const declaration change for locales
in src/formatMS.js
from the recent commits (ricky8k@b7bcf95). Unfortunately, my fix isn't completely stable. Sometimes, Rawon will stall after loading events:
user@mihari:~/rawon$ npm start
> [email protected] start
> node --es-module-specifier-resolution=node -r dotenv/config .
[INFO] Starting the bot...
[2024-01-13 21:05:29 (-05)] [info]: [ShardManager] Shard #0 has spawned.
[2024-01-13 21:05:29 (-05)] [info]: [ShardManager] All shards are spawned successfully.
[2024-01-13 21:05:33 (-05)] [info]: Loading 10 events...
[2024-01-13 21:05:33 (-05)] [info]: Events on listener channelUpdate has been added.
[2024-01-13 21:05:33 (-05)] [info]: Events on listener debug has been added.
[2024-01-13 21:05:33 (-05)] [info]: Events on listener error has been added.
[2024-01-13 21:05:33 (-05)] [info]: Events on listener guildBanAdd has been added.
[2024-01-13 21:05:33 (-05)] [info]: Events on listener guildBanRemove has been added.
[2024-01-13 21:05:33 (-05)] [info]: Events on listener interactionCreate has been added.
[2024-01-13 21:05:33 (-05)] [info]: Events on listener messageCreate has been added.
[2024-01-13 21:05:35 (-05)] [info]: Events on listener ready has been added.
[2024-01-13 21:05:35 (-05)] [info]: Events on listener voiceStateUpdate has been added.
[2024-01-13 21:05:35 (-05)] [info]: Events on listener warn has been added.
[2024-01-13 21:05:35 (-05)] [info]: Done loading events.
When it wasn't stalled, it loaded the necessary commands and Rawon would work without issue. From what I could observe, it boots properly about 5 minutes after Rawon is stopped.
from rawon.
Thanks for the report, I just fixed it. Try it again.
from rawon.
Rawon works without a problem now. Thank you!
from rawon.
Related Issues (20)
- [Features] Add Koyeb deployment support
- [Features] Docker support HOT 2
- [Bug Report] The music player is already playing to #unknown-channel voice channel HOT 3
- [Features] Play next queue
- [Bug Report] help repeat commands doesn't show output as intended in Indonesian HOT 1
- [Bug Report] Cannot Build HOT 1
- [Bug Report] Docker Container HOT 2
- [Bug Report] Song stops before it's finished HOT 1
- [Bug Report] Spotify Albums Don't Play
- [Bug Report] Issue playing any music... HOT 1
- [Bug Report] Not Playing the music HOT 4
- [Bug Report] Instantly ends song HOT 3
- [Question] The bot cannot join new servers HOT 1
- [Bug Report] Unable to skip music with basic users (vote skip) HOT 1
- [Question] Can it run on replit HOT 1
- [Bug Report] ERR_UNSUPPORTED_DIR_IMPORT HOT 1
- [Bug Report] UNSUPPORTED_DIR_IMPORT HOT 2
- [Features] Add spotify Support with Playlist Support HOT 1
- [Bug Report] Error when trying to play music
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 rawon.