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

I am having an issue with a node.js function that basically works like Array.map() but with the additional capability of limiting how many callbacks are running concurrently (like a mini task ...
Jingmin Xu's user avatar
-7 votes
1 answer
114 views

I'm creating a video game search app. I'm using an API so that clicking a searched game card takes you to a new page that contains images and a brief intro about the game. However, this does not work, ...
user31528169's user avatar
2 votes
2 answers
224 views

I am trying to solve the problem posed in this question which asks that division of two numbers be performed in a bitwise manner. So, I wrote the following functions. sum() adds two numbers. larger() ...
uran42's user avatar
  • 469
0 votes
0 answers
52 views

Models: Ngetest.phpp <?php defined('BASEPATH') or exit('No direct script access allowed'); class Ngetest extends CI_Model { public function showEcho() { return "naisu"; ...
Syraxes's user avatar
0 votes
0 answers
76 views

I'm working with a Nuxt 3 project, and I'm getting the following error related to Sass mixins when I try to run the dev server: ➜ DevTools: press Shift + Alt + D in the browser (v2.5.0) ...
Rinkal's user avatar
  • 71
1 vote
0 answers
36 views

I have a function that gets called when you click a button. I'm checking to see if the clicked item has the class "itm-active". If it does, don't do anything. Else check for elements that ...
bananas0102's user avatar
0 votes
0 answers
39 views

I'm building a backend application using NestJS, and everything was working smoothly. Recently, I added a new module and attempted to use services from existing modules within it. However, after ...
Naceur Kheder's user avatar
0 votes
0 answers
77 views

When designing TypeScript props for React components, I'm sometimes unsure whether I should type props like: prop?: Type or prop: Type | undefined My understanding so far: prop?: Type The prop ...
Andrey Rafalskyi's user avatar
0 votes
0 answers
91 views

I'm currently trying to make a login and signup form using EJS, Express, Node, etc. However Whenever I submit data from a form, all data is being returned as "Invalid" I've checked my user ...
user30069178's user avatar
2 votes
2 answers
136 views

Working in p5.js on a class assignment. We have to make a music player. I found a tutorial in the site, but despite copying the code near-exactly (only altering so as to implement multiple songs), I ...
user29731287's user avatar
0 votes
0 answers
23 views

I'm trying to implement two Classes - 'EditObject' and 'ProgressObject'. Progressobject is supposed to inherit from EditObject, all its variables and Methods. When I try to use Methods from '...
Carll's user avatar
  • 21
0 votes
1 answer
109 views

Record is defined as follows: /** * Construct a type with a set of properties K of type T */ type Record<K extends keyof any, T> = { [P in K]: T; }; It is defined such that for a Record&...
Sebastian Barth's user avatar
0 votes
2 answers
102 views

Does an empty function body implicitly return undefined in JS? console.log((() => {})()) Clearly it does right? The console outputs undefined in the example above... // but let's do ...
Asleepace's user avatar
  • 3,745
2 votes
1 answer
115 views

Why does this code work? for (const i in undefined) {} From for...in - JavaScript | MDN: The for...in statement iterates over all enumerable string properties of an object (ignoring properties keyed ...
Ooker's user avatar
  • 3,404
2 votes
2 answers
133 views

When I specify a type of foo|undefined for myConst below, type inspection correctly tells me that myConst has a type of foo|undefined on that line. However, in the next line down, type inspection says ...
Nate Glenn's user avatar
  • 6,784
0 votes
0 answers
20 views

I am trying to give my custom DatePicker an initial value of null/make the date empty. I've tried setting the initial state to both null and undefined, but I get either a ESLint or Prettier error that ...
Delilah's user avatar
1 vote
0 answers
31 views

When I tried to use holder image within the below code: import { run as runHolder } from "holderjs/holder"; import React, { Fragment, useEffect } from "react"; import { Image } ...
Park JongBum's user avatar
  • 1,411
0 votes
0 answers
47 views

In an Express app I have the following JS code (server side) in a middleware to check that a user provides an adequate token. This is only the relevant part for my question: const authHeader = req....
Michel's user avatar
  • 11.9k
2 votes
0 answers
62 views

I'm using @ParameterType in Cucumber to define a custom type and assigning a name to it. However, when I reference this name in my @Then step definition, the step in my feature file still shows as ...
Aydın Free's user avatar
0 votes
0 answers
50 views

Getting this error while closing the modal from closeModal component. I have written path replace using history.push() function. Ex. const OnClose = () =>{ history.push({ pathname: "/...
Dinesh Kumar's user avatar
-3 votes
1 answer
118 views

We ran into the issue that a property was undefined even though the type doesn't allow it. Turns out the way we create the object in place has some issues. I made a small example which the linter ...
user1269009's user avatar
0 votes
2 answers
67 views

I'm working on creating a pixel-based light in the dark simulation with JavaScript to improve my coding skills. The goal is to create a bubble of light around the cursor as it moves. I'm only ...
Evan Bair's user avatar
-2 votes
1 answer
50 views

I got undefined property $Surat when defined an object called Surat at a controller on Codeigniter 4.5.5 This is the controller file <?php namespace App\Controllers; use App\Controllers\...
Raina Zah's user avatar
0 votes
0 answers
26 views

I've been working on a python web development course, and my course wants me to make a website that lists some cafés in London. I'm trying to code the functionality to add a café, but when I run the ...
SmallCoder12's user avatar
0 votes
1 answer
153 views

Doing the problems in a popular textbook, I got a error when using a member function in a struct: .../s09-04-02.cpp:30: undefined reference to `Date::Date(int, int, int)' // s09-04-02.cpp simple ...
cbcalvin's user avatar
0 votes
1 answer
49 views

I'm trying to create an array that keeps track of which lines are already hit so they aren't checked repeatedly if I allow the game to continue until another bingo is hit. This is where my problem is ...
user2108555's user avatar
1 vote
1 answer
86 views

I was trying to create a simple ticker: Ticker? ticker; @override void initState() { super.initState(); ticker = createTicker(tick); ticker!.start(); } @override void dispose() { ticker?....
Avarage cat enjoyer's user avatar
0 votes
1 answer
75 views

The use-noms-cpnt component is as follows: <div id="app"> <use-noms-cpnt></use-noms-cpnt> </div> I have an App component and an App mounted like this, I put a props ...
Vince's user avatar
  • 23
-1 votes
1 answer
48 views

The following is the tree structure of the files file tree This is code with error : mailtrap.config.js import { MailtrapClient } from "mailtrap"; import dotenv from "dotenv"; ...
Vinay Sankar Gokavarapu's user avatar
-2 votes
2 answers
65 views

I have a function that return a undefined thing even if it normally need to return something defined. I have this code with a function: const GtfsRealtimeBindings = require("gtfs-realtime-...
Yoan Pettorelli's user avatar
0 votes
2 answers
79 views

Here is my codes. //main.go package main import ( "fmt" ) func main() { bc := NewBlockchain() bc.AddBlock("Send 1 BTC to Ivan") bc.AddBlock("Send 2 more BTC ...
이해성's user avatar
0 votes
0 answers
18 views

I'm new to programming! Trying to write a function that obtains the digital root of a number. Currently struggling with the "for loop" and "if else" portion of the formula that ...
user26789162's user avatar
1 vote
0 answers
34 views

I am working with this Github code. https://github.com/He3556/Mixcloud-Unfollowers the issue I am facing is that it seems that at the end of the API page, the for loop gives me undefined on the ...
post poop zoomies's user avatar
0 votes
0 answers
81 views

I got a weird issue when I was working on html, js.Below is what I got, the point is that when I sent the same code to other computer, it works well with the data, and I also got a line of "...
Flora Jiang's user avatar
0 votes
2 answers
148 views

Please someone help me with this. Why the Google_Service_Drive is undefined? I Has installed the google/apiclient and do the configuration on .env file but it still says its undefined. I've been tryng ...
Is 46's user avatar
  • 1
0 votes
1 answer
33 views

I'm working on a web application (via python Flask server) using jQuery UI's draggable and droppable features. I have draggable elements that are supposed to be combined when dropped into a droppable ...
user avatar
0 votes
1 answer
344 views

I have a request for help with Alpine.JS I have a packetaApiKey property defined. When I access it this.packetaApiKey in the pickPoint method, it works as expected. But in the showSelectedPickupPoint ...
Marek Vinárčik's user avatar
0 votes
1 answer
63 views

I am trying to read the roles array from this object and getting the error: TypeError: Cannot read properties of undefined (reading 'forEach') Code: this.data.roles.forEach(role => { this....
user2549382's user avatar
2 votes
1 answer
182 views

Summary I want to disallow any explicit undefined value while still allowing implicit undefined values. Background In JavaScript, we have this behavior where accessing a key that does not exist yields ...
nullromo's user avatar
  • 2,737
1 vote
2 answers
95 views

In Javascript, if I make an array using Array(10), it creates an array with 10 empty items. If I access any item in that array, it returns undefined. However, if I create an array with a length of 10 ...
idk's user avatar
  • 49
0 votes
1 answer
107 views

I am building a game using Tyranobuilder, I defined a character focus behavior on game settings, such that when a character joins the scene and speaks, they will be bright and when another character ...
dramaticlook's user avatar
0 votes
1 answer
49 views

What i'm trying to do is generating lots of similar directory trees. I woul like to set a dict which describes the pattern of the tree. Then i want ansible to generate multiple directory trees with ...
Kirill Zelepukin's user avatar
0 votes
0 answers
33 views

This particular things seems happening when i run these codes AuthContext.jsx: // context is a state management tool for passing props import { createContext, useReducer } from "react"; // ...
Vinay Sankar Gokavarapu's user avatar
1 vote
1 answer
5k views

Hello I'm trying to get base url from .env file. And I'm getting undefined. I have tried some stack overflow answers and documentation but it didn't help. console.log('env', import.meta.env....
Dusan's user avatar
  • 145
-1 votes
1 answer
353 views

`Failed to build iOS app in Xcode 15.2. I am facing this errors ("ld: Undefined symbols" and "clang: error: linker command failed with exit code 1 (use -v to see invocation)"). ...
Arslan Zafar's user avatar
0 votes
0 answers
36 views

I'm trying to implement a very simple navigation in react native. I'm trying to navigate from the Home Screen by clicking a button to go to a Details Screen. When clicking the button I get this error: ...
Anastasija Stojanovska's user avatar
1 vote
1 answer
107 views

I have a simple React app(created with vite), where i am passing a list of objects to a component Carts, Carts component simply parses the list and returns JSX. But there is a error pointing that the ...
shivam prajapati's user avatar
0 votes
0 answers
19 views

Below is the php code i have on my website. We have been getting some email form submissions that are working but we have also been getting a large amount of empty submissions. When i try to submit a ...
ilana a's user avatar
1 vote
0 answers
42 views

I am upgrading jest from version 23 to 29. My project used to work fine before the upgrade, suddenly started observing this issue. I use Typescript as a language. TestPageDefs Module looks like below: ...
Manoj Kumar's user avatar
0 votes
0 answers
65 views

I am having a strange situation where a variable is assigned (and I made sure the assigned value is not undefined) but the value is always undefined. Strangely enough when inspecting the value by ...
Luke Vo's user avatar
  • 21.6k

1
2 3 4 5
137