Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

package.json build and start issue #1

Open
datacrud8 opened this issue Sep 1, 2023 · 1 comment
Open

package.json build and start issue #1

datacrud8 opened this issue Sep 1, 2023 · 1 comment

Comments

@datacrud8
Copy link

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?

[email protected] clean
rimraf coverage build tmp

$ 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.

@ZirionNeft
Copy link
Owner

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 free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants