Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Can you help fix this error? #1

Open
ebullienc3 opened this issue Apr 7, 2023 · 0 comments
Open

Can you help fix this error? #1

ebullienc3 opened this issue Apr 7, 2023 · 0 comments

Comments

@ebullienc3
Copy link

D:\Bots\stable-diffusion\node_modules>pnpm start

turing-bot@0.0.4 start D:\Bots\stable-diffusion
tsc && node .

src/commands/premium.ts:50:1 - error TS2742: The inferred type of 'default' cannot be named without a reference to '.pnpm/@discordjs+builders@1.6.1/node_modules/@discordjs/builders'. This is likely not portable. A type annotation is necessary.

50 export default {
~~~~~~~~~~~~~~~~
51 data,
~~~~~~~
...
100 },
~~~~
101 };
~~

src/commands/stable-diffusion.ts:427:1 - error TS2742: The inferred type of 'default' cannot be named without a reference to '.pnpm/@discordjs+builders@1.6.1/node_modules/@discordjs/builders'. This is likely not portable. A type annotation is necessary.

427 export default {
~~~~~~~~~~~~~~~~
428 cooldown: "2m",
~~~~~~~~~~~~~~~~~
...
700 },
~~~~
701 };
~~

src/commands/transcript.ts:124:1 - error TS2742: The inferred type of 'default' cannot be named without a reference to '.pnpm/@discordjs+builders@1.6.1/node_modules/@discordjs/builders'. This is likely not portable. A type annotation is necessary.

124 export default {
~~~~~~~~~~~~~~~~
125 cooldown: "1m",
~~~~~~~~~~~~~~~~~
...
170 },
~~~~
171 };
~~

src/modules/stablehorde.ts:152:23 - error TS2742: The inferred type of 'generateUpscaleRow' cannot be named without a reference to '.pnpm/@discordjs+builders@1.6.1/node_modules/@discordjs/builders'. This is likely not portable. A type annotation is necessary.

152 export async function generateUpscaleRow(generationId, images) {
~~~~~~~~~~~~~~~~~~

src/modules/stablehorde.ts:163:23 - error TS2742: The inferred type of 'generateRateRow' cannot be named without a reference to '.pnpm/@discordjs+builders@1.6.1/node_modules/@discordjs/builders'. This is likely not portable. A type annotation is necessary.

163 export async function generateRateRow(generationId, userId, imageId) {
~~~~~~~~~~~~~~~

Found 5 errors in 4 files.

Errors Files
1 src/commands/premium.ts:50
1 src/commands/stable-diffusion.ts:427
1 src/commands/transcript.ts:124
2 src/modules/stablehorde.ts:152
 ELIFECYCLE  Command failed with exit code 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

1 participant