Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

JavaScript: “Cannot read property of undefined” when calling onAuthStateChanged in Expo Firebase Auth

I’m trying to connect Firebase Auth with my Expo React Native app, but I keep getting a JavaScript runtime error on screen. This is the exact message:error failed to call into javascript module method ...
user31787907's user avatar
-1 votes
0 answers
47 views

Why do img elements not stay pinned as website resizes?

I’m making a website, and I’m trying to make my elements pinned/anchored when I expand or minimize the webpage. The elements should look like they’re part of the background image as it expands, so ...
wornwizard's user avatar
-1 votes
0 answers
12 views

Add drawdb to angular

I'm trying to integrate the DrawDB ERD editor into my Angular project: https://github.com/drawdb-io/drawdb My goal is to embed the editor directly inside an Angular component, not just run it ...
Heitor Giacomini's user avatar
0 votes
1 answer
25 views

Using tableBody.insertRow(); causes the whole page to be overwritten by newly inserted cells?

The problem is that the typescript code below this html snippet updates the page with a set of rows for dates and prices but it also erases part of the page that says "Fetch Message from API"...
pandoragami's user avatar
  • 5,581
1 vote
0 answers
12 views

Pixelit JS Library - Incorrect Size

I have already submitted a question regarding Pixelit, see this question for background info. Long story short, I'm making a Discord bot as a learning project and I am just trying to use Pixelit, an ...
Foofoo9906's user avatar
-1 votes
1 answer
55 views

Conditional Methods In Class

Assume I have the following JavaScript class structure class Class1 { constructor(version) { this.version = version; } method1() { console.log("Method 1 - Class 1"); } } ...
Greeso's user avatar
  • 8,407
0 votes
1 answer
23 views

Why window.close() from renderer process doesn't trigger the close event in Electron's main process?

I'm building an Electron application and trying to close a window from the renderer process using window.close(). However, the close event listener I've registered in the main process isn't being ...
Parminder Singh's user avatar
Advice
0 votes
1 replies
34 views

HTML 5 Audio Player

https://codepen.io/sekedus/pen/ExxjZEz I have been using the HTML 5 Audio Player with Playlists in a couple of sites for a few years. It works quite well. Up until recently it would advance ...
Larry Moss's user avatar
0 votes
0 answers
40 views

Deserializing msgpack_numpy array in browser

I make a web app, the server side is running Python and processes data with numpy. I want to display charts from the numpy data on the browser. On the server I encode a list of numpy arrays with ...
mguijarr's user avatar
  • 7,998
1 vote
0 answers
23 views

When using Onesignal with a Firebase website: [Service Worker Installation] Installing service worker failed SecurityError: The operation is insecure

I get the error when the push notification service worker attempts to load on my firebase app after enabling notifications. The full error is: [Service Worker Installation] Installing service worker ...
Donkey45's user avatar
0 votes
0 answers
37 views

Is the lack of support of orthographic variants for Scandinavian languages in the Intl JavaScript API known?

Here is the absolute minimum test set for orthographic variants in Scandinavian languages (all those pairs should compare equal): Is this a known limitation of the Intl JavaScript API? console.log(`...
Géry Ogam's user avatar
  • 8,424
-4 votes
0 answers
29 views

AISDK tools usage [closed]

I am using aisdk 4 like below return streamText({ model, messages: context, tools: getTools(a, b, c, d), toolChoice: "auto", maxTokens: 30000, temperature: 0.0, ...
Alice's user avatar
  • 1
-6 votes
0 answers
46 views

Cloudflare Worker Endpoints Error in Trading Bot [closed]

So I try set almost 4 months with chat gtp and Deep Seek to build a trading bot, 6 modules over cloudflare, the architecture and the concept stand, from him in total I have permanent errors with the ...
Ronny Wimmer's user avatar
1 vote
0 answers
49 views

How to make Component show on top of MapContainer in React application using React-leaflet

I have a react app that uses React-Leaflet. The Application renders a map, and on top of the map there should be a component that shows a modal. Instead, the modal is shown underneath the map. How can ...
Adimirio's user avatar
-2 votes
0 answers
32 views

App redirects back to login after successful login when deployed with Apache proxy [closed]

I deployed my React + Vite project on a server. Initially, everything worked fine when running directly on the server IP — the frontend was running on port 3000, and the backend (including Socket.IO) ...
Haseeb Aleem's user avatar
-2 votes
0 answers
48 views

Link relational database to a mobile app without a third-party [closed]

I am building an Android mobile app using JavaScript and the app includes a sign up, log in page. All the information needs to be stored in a relational database. How can I do that? Since my project ...
Nessa's user avatar
  • 17
-4 votes
0 answers
67 views

javascript and NET.plugins and visual studio code [closed]

can i use both javascript and NET.plugins to build an app. my app is coded in javascript and will be using visual studio code as my IDE.
Nessa's user avatar
  • 17
-1 votes
1 answer
29 views

Empty bar chart in Vue-ECharts despite working in ECharts playground

I have a simple template with a bar chart that doesn’t render properly in Vue-ECharts, even though the exact same options work fine in the ECharts playground. There are no console errors — the chart ...
Primoz's user avatar
  • 1,534
1 vote
1 answer
36 views

Export/Download contact numbers from single or multiple whatsapp group

I’m developing a browser extension that displays all of a user’s WhatsApp groups. When the user selects one or multiple groups and clicks “Export,” it should download the contact details of all ...
Divyansh Babel's user avatar
-3 votes
1 answer
78 views

Why does my component re-render infinitely when using useState inside a setTimeout? [duplicate]

I'm building a live clock component in React using useState and setTimeout. The goal is to update the time every second. However, as soon as the component mounts, it triggers infinite re-renders and ...
Panki Dodiya's user avatar
-1 votes
0 answers
35 views

line chart styling not working as expected

I have been trying to make a line graph with a gradient fade area. but whatever I do, it does not apply. import * as React from 'react'; import { LineChart } from '@mui/x-charts/LineChart'; import { ...
seena's user avatar
  • 1
-4 votes
0 answers
41 views

React.js directives vs decorators [closed]

I can't quite wrap my head around this. Why did the React and Next team chose to rely on JavaScript directives instead of decorators? Decorators are widely used by a plethora of frameworks like ...
Hubert Kowalski's user avatar
0 votes
0 answers
54 views

Video visible through SVG letters while keeping fixed background and black surroundings [closed]

I’m trying to have a fixed video background that’s visible only through SVG paths (letters). The rest of the area around the SVG should be black. However, when I fix the video, it doesn’t clip ...
Ivan's user avatar
  • 1
0 votes
0 answers
15 views

Element Plus image preview not movable by touch in mobile devices

In element plus, images are movable by cursor pointer in desktop view but when you try to do the same on mobile devices, the image is not moving. Not sure the behind the scene engineering but I assume ...
tawsifahmed's user avatar
-3 votes
0 answers
39 views

WKHTMLTOPDF.exe return -1073741819 error when adding my javascript code in html code [closed]

Im having issue with my laravel pdf generator application using wkhtmltopdf. The tool returning -1073741819 error when I embed javascript highchart code to my html code.The issue on Whoops sounded ...
Putera Syabil's user avatar
0 votes
0 answers
15 views

Meta Capi and Mannual integration

I recently sent Meta CAPI customer events to enrich the existing conversion data we were already sending via CAPI. We used the Payload Helper to build the event payloads and an API token to post them. ...
KAC's user avatar
  • 1
-2 votes
0 answers
57 views

Resolving ESLint 'require' vs 'import' errors in TypeScript tests without losing code coverage [closed]

I’m writing test cases in TypeScript, and Codacy/ESLint flags errors when I use require() statements inside my tests. The recommended fix is to replace require() with ES6 import statements because ...
Sham ganesh's user avatar
1 vote
1 answer
62 views

pass data to tsx code stored in a variable

I have tsx stored as a template in a variable like so // file a let v = <div>text</div> This should be used with some context or parameters in other files. // file b import v from a.tsx ...
stot's user avatar
  • 1,127
0 votes
0 answers
55 views

Decompress .zstd file using typescript

I'm trying to programmatically decompress a .zst file using typescript. This is the code I am using: import { createReadStream, createWriteStream } from 'node:fs'; import { createZstdDecompress } from ...
speeder1987's user avatar
-3 votes
0 answers
42 views

Is it possible to play sine waves polyphonically using OscillatorNode? [closed]

I wanted to challenge myself in JavaScript and build a synthesizer, and to do this, I need to play multiple notes at once to build a harmonic series to get a unique sound. I've looked over the Mozilla ...
Techy's user avatar
  • 5
3 votes
1 answer
63 views

How do I use Discord.js and Node.js to send an image?

Preface: I truly don't have a clue about anything related to node.js, this is a learning project for me. I do know some Javascript. I followed this youtube tutorial to begin a node.js and discord.js ...
Foofoo9906's user avatar
Advice
0 votes
1 replies
38 views

Backup and Restore with PouchDB

I'm creating an app that stores data in PouchDB. I have successfully implemented a backup solution using db.allDocs. I now need to implement a restore process using db.bulkDocs. To avoid conflicts, ...
AlanQ's user avatar
  • 135
-4 votes
2 answers
72 views

How can I open a iFrame into fullscreen [closed]

I want to open an iFrame embed into a new fullscreen tab. The website that has the iFrame doesn't have an option to open the game in fullscreen. Is it possible to make this work as a bookmarklet? The ...
luh's user avatar
  • 1
4 votes
1 answer
57 views

How can I ensure legends take up the full width?

I am trying to customize the behavior of a horizontal legend in Plotly.js for varying viewport widths. Minimal example: <head> <script src="https://cdn.plot.ly/plotly-latest.min.js&...
user31792702's user avatar
Advice
0 votes
3 replies
54 views

reloading client side file after page reload using javascript

Is it possible to reload a client side file after a page reload? I'm building a web-map where the client can set a file containing coordinates to display via an input element of type file returning a ...
cpaitor's user avatar
  • 453
-1 votes
0 answers
42 views

SessionStorage copied to new tab when using <a> with "target=_blank"+"rel=opener", but not when using "Open link in new tab" by right-clicking

I have data stored in sessionStorage and a hyperlink which I want to be able to share it with even if user opens in a new tab. If I set "target" attribute to "_blank" and "rel&...
KekmasterACR's user avatar
-1 votes
0 answers
32 views

Full Calendar Issue - Appointments not rendering in the correct slot location [closed]

hoping someone can advise I am creating appointments in fullcalendar and they are not appearing at the expected time, I have validated the records data multiple times and there are no issues. It is ...
PMH's user avatar
  • 1
Tooling
0 votes
5 replies
89 views

Best Low-overhead JavaScript Compressor?

I am looking for a JavaScript compressor1 (not minifier) which has least overhead for it's own decompressor functions. Did you have some recommendations to me? Currently, I only seen RegPack and ...
JOrE's user avatar
  • 156
0 votes
0 answers
65 views

Why can I not get this querySelectorAll to work? [duplicate]

I have an xmldoc with an SVG element that I am trying to pre-process and clean up to do some things. The actual file has several thousand elements, and I want to remove the ones I do not want in the ...
lukehawk's user avatar
  • 1,493
-4 votes
0 answers
34 views

Is there a way to add auto-transaction of crypto once wallet a Dapp connects to wallet? [closed]

I created a Dapp crypto website. I was able to connect to wallet and fetch wallet address successfully. But I tried to include some logics in other that once a wallet connects to the Dapp, it then ...
Aboje Gabriel's user avatar
1 vote
3 answers
97 views

How to get rid of unwanted space between bottom border and canvas on iOS/iPadOS

I have an HTML canvas on iOS/iPadOS devices shows a small gap between the canvas and the bottom border. I've fixed this problem in the past with a div by adding display: block; but that does not work ...
Mike McCollister's user avatar
0 votes
0 answers
40 views

Two copy to clipboard buttons in elementor [closed]

I follow this article: https://element.how/elementor-copy-paste-clipboard-button And button worsk fine but... i got on my website two things which i want to be copied - phone numer and email. i change ...
tylerdurden's user avatar
0 votes
1 answer
54 views

How to implement onclick function for a map made with React Leaflet

I have a map that I've made in React Leaflet which lets the user draw polygons, and i want the user to be able to click on the polygon and render a modal which lets the user name the area that's ...
Adimirio's user avatar
-3 votes
0 answers
69 views

How to change text to HTML (bold, italic, strike, link etc.) just like in Whatsapp Message? [closed]

Issue In these days I am working on a chat app, I want to add text formatting same like WhatsApp — bold, italic, strike, code text and also clickable links. Here is WhatsApp format info: https://faq....
Muhammed Sahad's user avatar
-1 votes
0 answers
156 views

MS Edge problem / bug(?) - Mouse click sent to wrong DOM element, weird: has to do with CSS-border-radius definition [closed]

Mouse clicks on certain elements are not processed on the element itself (e.g., DIV or INPUT element) but on some higher element (some DIV) - the higher element catches all click events. Weird: ...
Björn's user avatar
  • 240
0 votes
0 answers
24 views

Uncaught Error: “Failed to call into JavaScript module method RCTEventEmitter.receiveEvent()” in React Native iOS (works fine on Android)

I’m facing an error when running my React Native app on iOS — it works fine on Android. Here’s the full error message from the red screen: Uncaught Error Failed to call into JavaScript module method ...
Sam's user avatar
  • 1
0 votes
1 answer
36 views

Highcharts pattern fill in styled mode

I want to use the pattern module for my charts in styled mode. I can get all points in a series in my pie chart to have the same pattern. But how can I get all points to have a different pattern? I ...
AMPEG GmbH's user avatar
5 votes
1 answer
110 views

How do I create a passkey on windows based browser without needing Windows Hello enabled

I'm trying to call navigator.credentials.create on my windows-based web page and Windows Hello is not enabled. The ceremony I'd like to see is the black box asking me if I'd like to use my mobile, ...
McMurphy's user avatar
  • 1,479
1 vote
0 answers
67 views

Disable line break between two .text() calls with pdfkit

I'm using pdfkit to generate text where syllables are differently colored. I'm having an issue avoiding line breaks in the middle of a word because I call .text() each time I want to change color. Is ...
Karim Makhloufi's user avatar
0 votes
0 answers
41 views

How to initialize Firebase/Firestore in Vercel project? [closed]

Here is the code I currently have. I get this error in the console when the page opens: Uncaught TypeError: The specifier “firebase/app” was a bare specifier, but was not remapped to anything. ...
max's user avatar
  • 1

1
2 3 4 5
50545