You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.
I trying to build this project in local :
"scripts": {
"start": "node --es-module-specifier-resolution=node --enable-source-maps .",
"build": "tsc -p tsconfig.json",
but below build script getting failed . Also above "start" value correct?
$ tsc -p tsconfig.json
node_modules/discord.js/typings/index.d.ts:3799:14 - error TS2536: Type 'T' cannot be used to index type 'MappedChannelCategoryTypes'.
Currently master branch is in WIP state, and I didn't suppose that someone will got happy to use this bot. You could take version tagged as 0.1 and would have try to run it. This version is a state before reworking (I'm lazy and didn't created dev branch...) https://github.com/ZirionNeft/chatgpt-discord-daily-news-bot/releases/tag/0.1
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I trying to build this project in local :
"scripts": {
"start": "node --es-module-specifier-resolution=node --enable-source-maps .",
"build": "tsc -p tsconfig.json",
but below build script getting failed . Also above "start" value correct?
$ tsc -p tsconfig.json
node_modules/discord.js/typings/index.d.ts:3799:14 - error TS2536: Type 'T' cannot be used to index type 'MappedChannelCategoryTypes'.
3799 ): Promise<MappedChannelCategoryTypes[T]>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/discord.js/typings/index.d.ts:3846:14 - error TS2536: Type 'T' cannot be used to index type 'MappedGuildChannelTypes'.
3846 ): Promise<MappedGuildChannelTypes[T]>;
~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 2 errors in the same file, starting at: node_modules/discord.js/typings/index.d.ts:3799
Can you please provide the correct script ? also please add build & start instruction.
The text was updated successfully, but these errors were encountered: