472,538 questions
-1
votes
0
answers
17
views
Azure Functions not getting deployed
I tried to create Azure Function resource and in the function file whenever I import langchain openai, the deployment is successful but the function doesn't get deployed.
const { app } = require('@...
1
vote
0
answers
38
views
Why I get connection timeout to Cloud SQL in GCP Cloud Functions Gen 2 randomly on some requests?
I have several Google Cloud Functions (Gen 2) functions that access a PostgreSQL database hosted in Cloud SQL, using node-postgres (pg).
These functions can be called multiple times by the same ...
-3
votes
0
answers
25
views
How do I play the youtubeurl audio with the help of discord-player? [closed]
I am using playdl, in order to get the official youtube video of the artist, and I am further using discord-player, to play the songs, earlier, while using .search of discord-player, I wasn't getting ...
-7
votes
0
answers
42
views
i can't build a turbo-repo chatgpt enable to solve my problem [closed]
i have used commands like
npx create-turbo@latest
Rename the two Next apps to
user-app
merchant-app
Add tailwind to it.
cd apps/user-app
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss ...
0
votes
0
answers
34
views
How to download data from a specific Cloud Firestore database?
This command
npx -p node-firestore-import-export firestore-export -a appConfig.json -b backup.json
should return data from the default Firestore database. However, I need data returned from one of ...
0
votes
0
answers
17
views
running screen is slow when running using node's spawn
I'm running this command: screen -S server -X stuff $'\003'
when I run it directly in bash it execute immediately.
When I'm running it through node's spawn, it takes several seconds for the command to ...
0
votes
0
answers
25
views
Cannot use Shopify CLI on Windows/WSL due to React useState error — how can I code a Shopify store from scratch without CLI?
I'm trying to develop my own custom Shopify store from scratch (for myself, not clients).
I want full control over the theme: building custom sections, pages, everything based on my designs.
What I ...
0
votes
0
answers
17
views
Use hash of content of uploaded file as filename with Node.js and multer
I use multer to upload files to a NestJS backend.
The important part of my multer config is:
{
// multer options: https://github.com/expressjs/multer#multeropts
storage: multer....
0
votes
0
answers
7
views
How to properly configure @adminjs/upload to store image files and hide the text input for the file path?
Product Model
import { DataTypes } from "sequelize";
import sequelize from "../util/database.js";
const Product = sequelize.define("product", {
id: {
type: ...
-2
votes
1
answer
28
views
Is it safe to use npm package for Amazon SP API application? [closed]
I want to use this library https://www.npmjs.com/package/amazon-sp-api to simplify amazon SP-API data access in my app. But is that safe to use it? Or there is a risk that a developer will do some ...
1
vote
1
answer
24
views
Interception xhr requests after pressing the load more button with puppeteer
Initially two json files arrive on the site - the rest arrive after clicking the ‘load more’ button. I'm trying to intercept all requests. The example shows how I am waiting for the button to appear ...
0
votes
0
answers
24
views
Error while building React app with ApexCharts: Module parse failed in apexcharts.esm.js
I'm working on a React project, and when trying to create a production build with react-scripts build, I get the following error:
javascript
Copy
Edit
Creating an optimized production build...
Failed ...
0
votes
0
answers
22
views
Azure AD - Code Verifier does not match the Code Challenge supplied
I'm trying to authenticate with Microsoft Azure AD OAUTH 2.0 in my Node.js/TypeScript app. During the repo cloning process, I keep getting this error when handling authentication: AADSTS50148: The ...
-1
votes
0
answers
25
views
Nested dependencies http-proxy-middleware of webpack-dev-server in package-lock.josn not updating from overrides package.json [closed]
Nested dependencies http-proxy-middleware of webpack-dev-server in package-lock.josn not updating from overrides package.json
using next14.2.28, react18.3, and node 22.8
also webpack-dev-server latest&...
0
votes
1
answer
39
views
On product edit page, to send the same images, need to click on the button and choose the same images again
On the product edit page, if you want to send the same images, you'll need to click the button and select "Same Images" again.
The images are uploaded to Cloudinary as URLs, and they don't ...