Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
13 views

How can i generate the arrow function format typeorm migration file?

when ever i am generating migration file i am getting this kind of format public async up(queryRunner: QueryRunner): Promise<void> { await queryRunner.query(`ALTER TABLE "transaction&...
Sriram Alavalapati's user avatar
1 vote
0 answers
19 views

Unable to Resolve Dependencies from EntityRepository in TypeOrmModule. But EntityRepository doesn't exists

I am working on a NestJS project that uses TypeORM. Currently implementing a data feed in the 'command handler' pattern so each user has a customized output from the same endpoint. Error Message - [...
cryxnet's user avatar
  • 155
0 votes
0 answers
8 views

How to Properly Create the Data Architecture for a PERN Stack Application?

I'm building a web application using the PERN stack, and I'm looking for best practices on how to design the data architecture. I just did a basic pernTODO in order to practice my postgressSQL skill a ...
yzkael's user avatar
  • 67
0 votes
0 answers
15 views

Typescript: Circular Definition and Cannot Find Module Errors During Build

I cloned a project from GitHub and encountered some issues while trying to build it. I've already installed all the necessary dependencies using npm install, and I'm running MongoDB through the mongo ...
dawid_Pascal's user avatar
0 votes
1 answer
17 views

Strapi load env variables in a custom config file

I'm trying to load my env variables directly in a custom config file that i use for rabbitmq. Here's my custom config that is found in config/rabbitmq.ts import amqp, { Channel, Connection, Options } ...
user9132502's user avatar
0 votes
0 answers
29 views

How to properly package a Node.js and React app stripping the container of all unneeded files?

I have a Node.js backend that serves up the React frontend (later I can do CDN probably) and for now, I plan on disallowing CORS so React must talk to my Node.js backend only. The prototype for this ...
Dean Hiller's user avatar
  • 19.8k
0 votes
0 answers
28 views

Catch unhandled exception in NodeJs child process

My NodeJs app forks 10 child processes on the start. In every child process I have the next code: process.on('unhandledRejection', (reason, promise) => { log.error('Unhandled Rejection at:', ...
Rougher's user avatar
  • 906
0 votes
0 answers
17 views

Any IDE work with import typescript nodejs, react, libs correctly in monorepo style? [closed]

Let me give more context. In a previous monorepo, we could load any microservice in Intellij IDE (java based) and it would load the microservice and all libraries it depended on. Basically, we ...
Dean Hiller's user avatar
  • 19.8k
0 votes
0 answers
11 views

How can I create a extension from the interface inside of a external npm package in typescript?

in react-native typescript, I use a npm called react-native-sqlite-storage, that npm has a interface like this inside its node_modules export interface SQLiteDatabase { dbname: string; ...
Dylan's user avatar
  • 1,255
0 votes
0 answers
8 views

Heroku showing error "Cannot find package 'express' imported from /app/backend/dist/server.js" when trying to deploy

I was trying to deploy my first typescript app on heroku. But, I ended up with 2 error first the h=10 code error which I looked up all over the internet and tried all the fixes but the error still ...
Rakshit Gumber's user avatar
1 vote
1 answer
39 views

In TypeScript 5.6+, `Buffer` is not assignable to `ArrayBufferView` or `Uint8Array | DataView`

Trying to upgrade to TypeScript 5.6, I get the following error messages in node_modules. I didn't make any other change, so what should I do to fix these errors? node_modules/@types/node/buffer.d.ts:...
Daniel Rosenwasser's user avatar
0 votes
0 answers
18 views

No overload matches this call. Typescript error

[[enter image description enter image description here](https://i.sstatic.net/oTQcU5oA.png)](https://i.sstatic.net/LRODtLyd.png) This is the error . No overload matches this call. The last overload ...
Aabiskar's user avatar
1 vote
0 answers
22 views

Electron, node.js, next.js - bluetooth serial get device name - serial web api

I have a small electron + next.js + typescript + ES application running and I'd like it to list all connected bluetooth devices on my pc. Currently, I'm able to list those but only their information ...
Mart's user avatar
  • 491
0 votes
0 answers
12 views

Can configuration in tsconfig.json for `compilerOptions.paths` transform import paths for runtime?

I'm following the documentation for Typescript to set up path aliases. My tsconfig.json looks something like this: { "compilerOptions": { "module": "nodenext", &...
user3056783's user avatar
  • 2,556
-1 votes
0 answers
42 views

Fetch data from an API in a React layout component [closed]

I'm new to React and I want to authorize people to use #data in the URL and send this data to my API, but when I send fetch request to my API, the whole page starts refreshing and sending multiply ...
Suno KYP's user avatar

15 30 50 per page
1
2 3 4 5
1076