Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing when running npm run create-locales #26

Open
ColdShadow80 opened this issue Nov 28, 2022 · 2 comments
Open

Error installing when running npm run create-locales #26

ColdShadow80 opened this issue Nov 28, 2022 · 2 comments

Comments

@ColdShadow80
Copy link

ColdShadow80 commented Nov 28, 2022

~/progs/EventWatcher$ npm run create-locales

[email protected] create-locales
npm run build && node ./dist/services/create-locales.js

[email protected] build
tsc -p tsconfig.json

node_modules/@discordjs/builders/dist/index.d.ts:99:29 - error TS1005: ',' expected.

99 declare type RGBTuple = [red: number, green: number, blue: number];
~

node_modules/@discordjs/builders/dist/index.d.ts:99:44 - error TS1005: ',' expected.

99 declare type RGBTuple = [red: number, green: number, blue: number];
~

node_modules/@discordjs/builders/dist/index.d.ts:99:58 - error TS1005: ',' expected.

99 declare type RGBTuple = [red: number, green: number, blue: number];
~

node_modules/@discordjs/builders/dist/index.d.ts:210:59 - error TS1110: Type expected.

210 declare function codeBlock(content: C): \``\n${C}````;
~~~~~~~~~~~

node_modules/@discordjs/builders/dist/index.d.ts:217:90 - error TS1110: Type expected.

217 declare function codeBlock<L extends string, C extends string>(language: L, content: C): \``${L}\n${C}````;
~~~~~~~~~

node_modules/@discordjs/builders/dist/index.d.ts:223:60 - error TS1110: Type expected.

223 declare function inlineCode(content: C): \${C}``;
~~~~~

node_modules/@discordjs/builders/dist/index.d.ts:229:56 - error TS1110: Type expected.

229 declare function italic(content: C): _${C}_;
~~~~

node_modules/@discordjs/builders/dist/index.d.ts:235:54 - error TS1110: Type expected.

235 declare function bold(content: C): **${C}**;
~~~~~

node_modules/@discordjs/builders/dist/index.d.ts:241:60 - error TS1110: Type expected.

241 declare function underscore(content: C): __${C}__;
~~~~~

node_modules/@discordjs/builders/dist/index.d.ts:247:63 - error TS1110: Type expected.

247 declare function strikethrough(content: C): ~~${C}~~;
~~~~~

node_modules/@discordjs/builders/dist/index.d.ts:253:55 - error TS1110: Type expected.

253 declare function quote(content: C): > ${C};
~~~~~

node_modules/@discordjs/builders/dist/index.d.ts:259:60 - error TS1110: Type expected.

259 declare function blockQuote(content: C): >>> ${C};
~~~~~~~

node_modules/@discordjs/builders/dist/index.d.ts:265:59 - error TS1110: Type expected.

265 declare function hideLinkEmbed(url: C): <${C}>;
~~~~

node_modules/@discordjs/builders/dist/index.d.ts:271:43 - error TS1110: Type expected.

271 declare function hideLinkEmbed(url: URL): <${string}>;
~~~~

node_modules/@discordjs/builders/dist/index.d.ts:278:69 - error TS1110: Type expected.

278 declare function hyperlink(content: C, url: URL): [${C}](${string});
~~~~

node_modules/@discordjs/builders/dist/index.d.ts:285:85 - error TS1110: Type expected.

285 declare function hyperlink<C extends string, U extends string>(content: C, url: U): [${C}](${U});
~~~~

node_modules/@discordjs/builders/dist/index.d.ts:293:97 - error TS1110: Type expected.

293 declare function hyperlink<C extends string, T extends string>(content: C, url: URL, title: T): [${C}](${string} "${T}");
~~~~

node_modules/@discordjs/builders/dist/index.d.ts:301:113 - error TS1110: Type expected.

301 declare function hyperlink<C extends string, U extends string, T extends string>(content: C, url: U, title: T): [${C}](${U} "${T}");
~~~~

node_modules/@discordjs/builders/dist/index.d.ts:307:57 - error TS1110: Type expected.

307 declare function spoiler(content: C): ||${C}||;
~~~~~

node_modules/@discordjs/builders/dist/index.d.ts:313:63 - error TS1110: Type expected.

313 declare function userMention(userId: C): <@${C}>;
~~~~~

node_modules/@discordjs/builders/dist/index.d.ts:319:69 - error TS1110: Type expected.

319 declare function channelMention(channelId: C): <#${C}>;
~~~~~

node_modules/@discordjs/builders/dist/index.d.ts:325:63 - error TS1110: Type expected.

325 declare function roleMention(roleId: C): <@&${C}>;

...
~~~~~

Found 797 errors.

@Zyahko
Copy link

Zyahko commented Dec 5, 2022

I am also getting this error on Ubuntu 22.04 and node 16.14.0

@fluffymcpuffy
Copy link

fluffymcpuffy commented Mar 19, 2023

same problem.

node -v
v19.8.1
npm -v
9.6.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants