TehNut / AniSchedule

A Discord bot that notifies you when a new anime episode has aired
MIT License
39 stars 15 forks source link

npm start runs, but stalls? #23

Open mattthw opened 2 years ago

mattthw commented 2 years ago
pi@raspberrypi ~/AniSchedule % npm run build

> anischedule@2.0.3 build
> node script/clean.js && tsc && copyfiles -f src/query/* dist/query

pi@raspberrypi ~/AniSchedule % npm start

> anischedule@2.0.3 start
> node dist/AniSchedule.js

pi@raspberrypi ~/AniSchedule % nodejs --version v12.22.5

After it starts the bot does not come online in discord.

TehNut commented 2 years ago

Sorry for the late response, please try with the modern_features branch. I haven't updated the build instructions yet, but it should be

npm install
npx prisma generate
npx prisma db push
npm run build

Not sure if it will correctly build right now, so you may need to use npm run dev instead.