ogrady / discordcrossposting Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Hello,
I get an error when I try to launch your bot. Here is the log file.
I hope you can help me and find the issues.
Thanks, and congrats for your work !
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'run'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prerun', 'run', 'postrun' ]
5 info lifecycle [email protected]prerun: [email protected]run: [email protected]
6 info lifecycle [email protected]
7 verbose lifecycle [email protected]run: unsafe-perm in lifecycle truerun: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\User\Desktop\DiscordCrossPosting-master\DiscordCrossPosting-master\node_modules.bin;C:\Program Files (x86)\VMware\VMware Workstation\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Program Files\AdoptOpenJDK\jre-8.0.292.10-hotspot\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\PuTTY;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\dotnet;C:\Program Files\WireGuard;C:\Program Files\nodejs;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Users\User\AppData\Local\Programs\Python\Python39\Scripts;C:\Users\User\AppData\Local\Programs\Python\Python39;C:\Users\User\AppData\Local\Microsoft\WindowsApps;C:\Users\User\AppData\Roaming\npm;C:\Users\User.dotnet\tools
8 verbose lifecycle [email protected]
9 verbose lifecycle [email protected]run: CWD: C:\Users\User\Desktop\DiscordCrossPosting-master\DiscordCrossPosting-masterrun: Args: [ '/d /s /c', 'node ./built/index.js' ]
10 silly lifecycle [email protected]
11 silly lifecycle [email protected]run: Returned: code: 1 signal: nullrun: Failed to exec run script
12 info lifecycle [email protected]
13 verbose stack Error: [email protected] run:node ./built/index.js
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:400:28)
13 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:400:28)
13 verbose stack at maybeClose (internal/child_process.js:1055:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
14 verbose pkgid [email protected]
15 verbose cwd C:\Users\User\Desktop\DiscordCrossPosting-master\DiscordCrossPosting-master
16 verbose Windows_NT 10.0.19043
17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "run"
18 verbose node v14.17.6
19 verbose npm v6.14.15
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] run:node ./built/index.js
22 error Exit status 1
23 error Failed at the [email protected] run script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
#13 5.254 > tsc
#13 5.254
#13 35.77 src/BotClient.ts(46,17): error TS2820: Type '"GUILD_MESSAGES"' is not assignable to type 'number | `${bigint}` | "Guilds" | "GuildMembers" | "GuildBans" | "GuildEmojisAndStickers" | "GuildIntegrations" | "GuildWebhooks" | "GuildInvites" | "GuildVoiceStates" | "GuildPresences" | ... 9 more ... | RecursiveReadonlyArray<...>'. Did you mean '"GuildMessages"'?
#13 35.78 src/BotClient.ts(47,17): error TS2820: Type '"GUILDS"' is not assignable to type 'number | `${bigint}` | "Guilds" | "GuildMembers" | "GuildBans" | "GuildEmojisAndStickers" | "GuildIntegrations" | "GuildWebhooks" | "GuildInvites" | "GuildVoiceStates" | "GuildPresences" | ... 9 more ... | RecursiveReadonlyArray<...>'. Did you mean '"Guilds"'?
#13 35.78 src/BotClient.ts(70,21): error TS2322: Type 'string' is not assignable to type 'ActivityType.Playing | ActivityType.Streaming | ActivityType.Listening | ActivityType.Watching | ActivityType.Competing | undefined'.
#13 35.78 src/BotClient.ts(208,26): error TS2339: Property 'isText' does not exist on type 'GuildBasedChannel'.
#13 35.78 Property 'isText' does not exist on type 'TextChannel'.
#13 35.78 src/BotClient.ts(209,17): error TS2322: Type 'TextChannel | NewsChannel | CategoryChannel | StageChannel | VoiceChannel' is not assignable to type 'TextChannel | NewsChannel | null'.
#13 35.78 Type 'CategoryChannel' is not assignable to type 'TextChannel | NewsChannel | null'.
#13 35.78 Type 'CategoryChannel' is missing the following properties from type 'NewsChannel': threads, addFollower, rateLimitPerUser, nsfw, and 22 more.
#13 35.78 src/commands/ListBridges.ts(2,10): error TS2305: Module '"discord.js"' has no exported member 'MessageEmbed'.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.