2,525,599 questions
1
vote
1
answer
12
views
TypeError: Cannot set properties of undefined (setting 'Papa') when using vue-papa-parse with Vue 3 + Vite
I’m facing the following error when trying to install vue-papa-parse in a Vue 3 project created with Vite:
TypeError: Cannot set properties of undefined (setting 'Papa')
This occurs when registering ...
0
votes
0
answers
22
views
How to Convert File URI to Content URI in React Native Expo?
Previously, we could convert a file URI to a content URI using `getContentUriAsync()` with `expo-file-system`. This method is now deprecated. How can we do this now?
2
votes
1
answer
47
views
Convert Excel spreadsheet calculator to JavaScript web application
I want convert a simple Excel spreadsheet calculator to web application, use jQuery forms. The resulting calc should look like this HTML page,two input fields and result field, plus "Reset" ...
2
votes
1
answer
25
views
How to handle partial dynamic route segments in React Router v7?
I am currently migrating my codebase from React Router v5 to v7 and have hit a roadblock regarding route validation.
In my older v5 codebase, we relied on path-to-regexp support to create routes with ...
0
votes
0
answers
41
views
ZPL with Zebra Browser Print printing multiple labels instead of 1
I'm using ZPL with Zebra Browser print and Zebra ZD230T printer, everything is configured, I've got v10 drivers and I'm printing labels within a React application.
Below is the function I'm calling to ...
-2
votes
0
answers
83
views
How to elegantly throw errors in JS? [closed]
Just a example.
If I have a function to do some services,and this function should check param type like this:
function did(p) {
if(type of p is not ok) throw Error();
}
It's good to record stack ...
2
votes
1
answer
64
views
Google Calendar Appoint pop-up button showing at end of HTML
I am building a site for a friend that requires me to include a button to the Google Appointment Calendar. I followed what Google said to do, but when I implemented it, it showed the button at the ...
1
vote
1
answer
32
views
echarts dataZoom strange artifacts
I have been working on a custom echart. x axis is timeline and each category element has 2 x values, start and end.
The issue I seem to be having is when I try to use the dataZoom slider, I get weird ...
1
vote
1
answer
32
views
fetchDeferredAppLink returns undefined on iPhone 13 Promax (iOS 18.5) but returns a string value on iPhone 16 (iOS 26)
I'm trying to test Facebook's Deep Link Tester, apparently it works on android devices, on iPhones it works on some devices that I used (iPhone 16 - iOS 26). I also tested another device which is the ...
5
votes
1
answer
47
views
Moving annotations on Column Chart with Negative Value Google Chart
I am using google charts and I need to chart pos/neg values with annotations. The negative annotations show up by the axis.
Is there a way to switch the -0.95 annotation to below the blue column?
...
-4
votes
1
answer
31
views
issue with setting up the carousal using shadcn library [closed]
I have installed the shadcn and its components like carousal, card and I set the API to null.
const [api, setApi] = React.useState<CarouselApi | null>(null);
on the browser console I'm getting ...
0
votes
2
answers
114
views
HTML Submit Button with two JavaScript functions but have a setTimeout between them [duplicate]
I have two JavaScript functions and i have a submit button for each function, whats the best implementation to add a few seconds wait between the two functions for example in JavaScript.
setTimeout(...
Advice
0
votes
0
replies
27
views
Open links in external/default browser when current in KIOSK mode
Windows 10x64
I have an array of browsers (Chrome, Chroimum, FF, etc) and I have a need to run specific app in KIOSK mode in browser (slack/discord) but any links clicked inside that instance has to ...
Advice
0
votes
4
replies
41
views
How to make a website? Frontend and Backend
Hi I am a beginner in programming, I just want to ask if I were to make a website what IDE should I use to run the frontend and backend? Like merge ( ? ) Can I use Visual Studio? Or something else. ...
-3
votes
1
answer
69
views
Running into WebJS.getChatModel issue: Cannot read properties of undefined (reading 'update') [closed]
I'm running a whatsapp-webjs script and trying to retrieve groupchats. Here is the code:
function getGroupChats() {
return new Promise(async (resolve, reject) => {
try {
const chats = ...