other-js-ts

4043 threads · Page 10 of 81

Issue with resolving conflicting peer dependencies 4 messages
median torrent I'm currently running into a dependency resolution error when installing dependencies with `npm i`: ``` npm error code ...
1081589071526240296 1081589253575823411
Sticky roles issues 25 messages
teal token guildMemberLeave.js ```js if (sticky) { if (sticky.stickyroleToggle == true) { if (typeof sticky.stickyrol...
bot cant find an open spreadsheet? 5 messages
somber jacinth Hi, i'm quite new javascript and node and djs, I'm trying to make a slashCommand to see a spreadsheet however its not d...
Command to update a variable in a diffrent file. 3 messages
near arrow Basically, I have a variable with a long array of objects. I want to make a command that i can use that will update that...
1081589071526240296
BFG Cleaner 1 messages
frank relic is using a BFG repo cleaner safe and is it effective? Thanks.
Attempting to install Windows Build Tools from Node installer errors 3 messages
1081589071526240296
PM2 Duplicate Procceses 7 messages
odd sierra When attempting to restart a bot using pm2 restart or pm2 reload, duplicate processes are being created. Even after stop...
1081589071526240296
Database error 3 messages
fallen sigil ```js Uncaught Exception: MongoServerError: The field 'Cars' must be an array but is of type string in document {_id: Ob...
1081589071526240296 1081590299358412983
Calling object method inside worker 4 messages
plush girder I'm trying to execute an object method inside a node worker, but I'm having trouble since functions aren't cloneable: - ...
1081589071526240296
handling premature websocket close 2 messages
shut sail im writing a class that creates websockets within and attempts to reconnect if the close code wasn't 1000 (normal); howe...
1081589071526240296 1081589253575823411
Writing on process exit is blank. 3 messages
glass cipher I'm trying to write to 2 separate json files in `process.on('exit'`, however the files are instead being emptied.```js p...
1081589071526240296
Cannot find json file in correct path 6 messages
glass cipher I'm trying to get values from 2 separate json files but cannot find the files despite the paths being correct.```js asyn...
1081589071526240296
Typescript Help 84 messages
unique meteor running build command isn't building https://cdn.discordapp.com/attachments/824411059443204127/1321823849377169468/2024...
1081589253575823411
Is there a way to make my prettier lint use my tsconfig rules? 6 messages
solemn nest Im using VSCode and have a valid tsconfig.json file. However, when I save my project, I'm currently using the default VS...
1081589253575823411
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed — JavaScript heap out of me 8 messages
paper vault After a few days my bot runs, I receive the error in the title. After a few checks, it seems that the error is caused by...
1081589071526240296
why am i getting this 1 messages
tall kindle ```js Error: EPIPE: broken pipe, write at Socket._write (node:internal/net:61:25) at writeOrBuffer (node:interna...
Button Issues 1 messages
uneven nacelle hi every1 i need some help plz this is my file for handling buttons (**index.ts**): https://sourceb.in/juYjHoWSDU thi...
1081589071526240296 1081589253575823411
Canvas error 14 messages
opal smelt Im checking the code for canvas on npm website and there is no `build` folder. Im confused why this bindings file is eve...
Is it possible to use a custom font with @napi-rs/canvas 1 messages
spring pond If this is possible please let me know
1081589071526240296
channel.messages.fetch() does not fetch some messages... 22 messages
1081589071526240296
Scalable way to manage imports in a JS project when splitting functionality across files? 10 messages
viral gust What is a scalable and maintainable way to manage imports in a JavaScript project when splitting functionality across mu...
1081589071526240296
Dynamic Display Logic Help 2 messages
wispy arch I have a dynamic honeycomb structure, that populates from every image I drop into a folder that gets rendered in a honey...
1081590447216017570
Await feedback !== '' 7 messages
meager thorn **(express.js)** Hi, I am creating a simple validation page to ensure that the user input matches what is listed in data...
1081589071526240296
Warn Command 8 messages
wicked burrow Hello, the `/warn` command executes and works fine, but the warnings are not being saved in the database. Could someon...
1081589071526240296 1081590299358412983
Executing two events [...] 11 messages
meager thorn Bit of a general JS question 😅 Can I clean up a huge event file doing multiple tasks (for example:) ```javascript cons...
NPM not showing in Powershell 6 messages
steady mason i went to https://nodejs.org/en/download/prebuilt-installer downloaded node went through the installation but npm -v in ...
1081589071526240296
mongoose issue 29 messages
blissful sun so apparently, my bot works fine whenever i run it, except for when i add the `await mongoose.connect()` bit, which when...
1081589071526240296 1081590299358412983
Weird error 12 messages
oak nest [Error: SQLITE_CANTOPEN: unable to open database file Emitted 'error' event on Database instance at: ] { errno: 14, ...
1081590299358412983
Oauth2 re-creates access token 4 messages
dapper heron Up to certain point Discord Oauth2 API returned same access and refresh token for same users when sending request to /oa...
help 5 messages
atomic vessel ```js const { SlashCommandBuilder, EmbedBuilder, PermissionsBitField } = require("discord.js"); const fs = require('fs')...
1081589071526240296
Web Serial API 3 messages
tacit kelp Hey, I've been working on rewriting a bluetooth driver (written in C#) in TS with the web serial API. this is a uni proj...
1081589071526240296 1081590447216017570 1081589253575823411
How to get a value assosiated with primary key (sqlite database) 7 messages
blazing spindle i have a database which has chanelId as primary key and ownerId as unique i already know how to get **I though it was fi...
1081589071526240296 1081590299358412983
How to get a value assosiated with the primary key (sqlite database) 18 messages
blazing spindle i have a database which has chanelId as primary key and ownerId as unique i already know how to get the channel id but h...
Sequelize .destroy() is not deleting the record from the database 13 messages
potent mica Problem: when I call .destroy() on my sequelize model or on the instance itself. The record is not deleted even though t...
1081590299358412983
Recognise text from image 44 messages
pastel blaze Hey, I've looked at tesseract.js for recognising text from an image but i can never get it to work, it comes out with a ...
Database for begginer 7 messages
mental cliff Which database is easiest and "begginer friendly" to start with?
1081590299358412983
Error installing canvas 4 messages
stuck delta error when tryna install canva https://srcb.in/fNAYxTjDvg any help?
Sharp.js 6 messages
stuck delta Im using sharp to generate images what could be the error making it look like this
help canvs 3 messages
grim ore ``` Error: Unsupported image type at setSource (/home/container/node_modules/canvas/lib/image.js:94:13) at Image...
1081589071526240296
Custom built client instance 25 messages
river silo This is the way I want to do it I don't need any suggestions otherwise I want to create a new class that will handle e...
1081589071526240296 1081589253575823411
Undefined error when cleaning data from MySQL server 4 messages
spice kernel Hey guys. I am using this code to query a MySQL database (there's more to it, this is just a snippet). The query returns...
1081589071526240296 1081590299358412983
Whats the better library for image manipulation? 9 messages
cobalt shuttle Whats the better library for image manipulation? Like karuta, rn I'm using canvas but I feel is a bit heavy on the machi...
How do I solve this problem? 16 messages
light minnow .
Canvas 5 messages
whole hill How can i do that the font in the name wont become this number?
ReadMe.md Badgets 12 messages
last knot Can someone explain me how I can add to my ReadMe.md a dynamic test badget like discord.js this has. I can share my repo...
Unknown Error 8 messages
iron tide Encountered this error a few times when I put my bot into a new server not sure if it is related.
Next.JS + TypeORM Bug 1 messages
loud root Hello, I'm trying to merge my Discord bot which uses TypeORM with my Next.JS Admin Panel. I made an index.ts file that i...
Unexpected Token < in JSON ... 2 messages
warm sky Code provided in image, I assume it is being parsed as a string HTML and not JSON, but I cannot quite figure out the exa...
1081589071526240296
AutoComplete on Discord Webhook based command handler 12 messages
willow bloom ```typescript case InteractionType.APPLICATION_COMMAND_AUTOCOMPLETE: console.log("Autocomplete request r...
1081589071526240296 1081590447216017570 1081589253575823411 1081590299358412983
Bot Dashboard 5 messages
rustic cairn Anyone know of any good tutorial for a bot dashboard I could use?