Sank6 / Discord-Bot-List

Just another botlist for discord
GNU General Public License v3.0
213 stars 185 forks source link

https://localhost/api/callback Does not work #114

Closed ViTraX closed 4 years ago

ViTraX commented 4 years ago

On my console everything is normal

No fine error if

[2020-08-02 01:41:04] Error: Cannot find module 'C: \ Users \ LymeYT \ Desktop \ Discord-Bot-List-master \ node_modules \ canvas-constructor \ dist \ index.js'. Please verify that the package.json has a valid "main" entry

help me

sayantan300 commented 4 years ago

It should be localhost:3000/api/callback or something with ur port no... Not just localhost.

sayantan300 commented 4 years ago

Whereas I even I had ur same error in console when I tried to host on glitch... Hopefully I solved it... Just go to package.json and change the canvas-constructor version to ^4.x

Zaid-maker commented 4 years ago

Well how a localhost is https it cannot be https it only http also don't update dependencies just install existing dependencies.

On Tue, 4 Aug 2020, 12:58 pm sayantan300, notifications@github.com wrote:

Whereas I even I had ur same error in console when I tried to host on glitch... Hopefully I solved it... Just go to package.json and change the canvas-constructor version to ^4.x

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Sank6/Discord-Bot-List/issues/114#issuecomment-668444734, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMXTCNCEBREHCHXKXAMDPPLR665SVANCNFSM4PSESYDA .

Zaid-maker commented 4 years ago

Yes you are right

On Tue, 4 Aug 2020, 12:58 pm sayantan300, notifications@github.com wrote:

Whereas I even I had ur same error in console when I tried to host on glitch... Hopefully I solved it... Just go to package.json and change the canvas-constructor version to ^4.x

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Sank6/Discord-Bot-List/issues/114#issuecomment-668444734, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMXTCNCEBREHCHXKXAMDPPLR665SVANCNFSM4PSESYDA .

sayantan300 commented 4 years ago

So @Zaid-maker pls change it then (the name of the package version)

Zaid-maker commented 4 years ago

Well I don't own this code lol

Sank6 commented 4 years ago

Fixed: 584a62d