discord-music-quizzer
discord-music-quizzer copied to clipboard
Error when running with Node.js 15.x
Thanks for a great project! Here's a heads up. When I tried running the bot with Node.js 15.x I got the following error:
~/discord-music-quizzer$ npm start
> [email protected] start
> tsc && node dist/index.js
node_modules/@types/request/index.d.ts:24:27 - error TS7016: Could not find a declaration file for module 'form-data'. '/home/azureuser/discord-music-quizzer/node_modules/form-data/lib/form_data.js' implicitly has an 'any' type.
Try `npm install @types/form-data` if it exists or add a new declaration (.d.ts) file containing `declare module 'form-data';`
24 import FormData = require('form-data');
~~~~~~~~~~~
Found 1 error.
Uninstalled 15.x, installed 12.x instead, and now it runs as it should.
Thanks for the report. I'll see what I can do