stackoverflow icon

Stackoverflow

An array of promises are all fulfilled by the same asynchronous task with correct return value, but some of them are with undefined value? [duplicate]I got this error in React - "Uncaught TypeError: Cannot read properties of undefined (reading 'match')" can someone help me please? [closed]Bitwise division in C : Programme seems to work for other numbers but when the divisor is 0 it returns 11 for no apparent reasonCodeigniter 3... Undefined Property $NgetestError: Undefined Mixin in Nuxt 3 when using Sass — "Pre-transform error: [sass] Error: Undefined mixin." I'm working with a Nuxt 3 projectJavascript TypeError undefined on for loop only (not off-by-one) [duplicate]NestJS: After adding a new module and injecting services from other modules, application stopped workingIn React + TypeScript, when should a prop be prop?: Type vs prop: Type | undefined? [duplicate]When submitting data through an EJS form, all data get returned as "undefined"Why are my songs showing up as undefined?Undefined reference to inherited Methods [duplicate]Type similar to Record<A, B> but saying that not for every A there is a B value (not even an undefined)What does the empty function body return in JS?Why can for...in loop run on undefined?TypeScript ignores explicit undefined type annotationSet DatePicker to null when getting ESLint and Prettier errors for null and undefined?holder.js has 'global is undefined' errorTesting undefined, failing in JS"Cucumber @ParameterType Named Parameter Not Recognized in IntelliJ"Uncaught TypeError: Cannot read properties of undefined (reading 'refs') in React Js using NX monorepoTypescript: undefined property cast check?Cannot Read Properties of undefined in a 2-Dimensional Matrix, HTML & JavascriptHow to solve undefined property $xx in the public function __construct at a controller on Codeigniter 4.5.5Function in flask app can't find variable, but online flask debugger can [duplicate]Why do I get a linker message: undefined reference to `Date::Date(int, int, int)' [duplicate]Jquery: Each inside each not recognizing pre-defined arrayThe method 'createTicker' isn't defined for the typetype data for props undefined in local component vue3.js with import tag Vue3, Vue3 needed for a alone pageenvironmental variables accessing in backend files [duplicate]Function return undefined [duplicate]How to use public functions in other source code files in golang?Digital Root Function returns "undefined" [duplicate]API FOR JS loop giving undefined at end of dataServer Timing API - There's undefined and unexpected png on my running browserWhy Google_Service_Drive type is undefinedFirst Element is Undefined in Drop Event Handler using jQuery UI Draggable and DroppableIn Alpine.JS, this.property inside method is undefinedAngular - TypeError: Cannot read properties of undefined (reading 'forEach')Can TypeScript specify keys that are allowed to not exist, but cannot be assigned to `undefined`? [duplicate]Empty vs. Undefined in Javascript [duplicate]Having an issue with Tyranobuilder, unexpected character issueProblem when using loop-generated variables in ansibleundefined object while using useContextvuejs3 and vite import.meta.env.VITE_BASE_URL not workingFacing error while making iOS build in xcode 15.2Uncaught Error: Cannot read property 'navigate' of undefinedReact component receiving undefined propsMy php form on my website is ending blank submissions to my email [duplicate]TypeError: Cannot read property 'explorerPage' of undefinedJS class variable is always undefined even though it's assigned and is never assigned to undefined, inconsistently showed by DevTools as well

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 ... 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, ... 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() ... Models: Ngetest.phpp <?php defined('BASEPATH') or exit('No direct script access allowed'); class Ngetest extends CI_Model { public function showEcho() { return "naisu"; ... 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) ... 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 ... 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 ... 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 ... 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 ... 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 ... 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 '... 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&... 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 ... 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 ... 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 ... 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 ... 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 } ... 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.... 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 ... 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: "/... 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 ... 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 ... 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\... 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 ... 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 ... 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 ... I was trying to create a simple ticker: Ticker? ticker; @override void initState() { super.initState(); ticker = createTicker(tick); ticker!.start(); } @override void dispose() { ticker?.... 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 ... 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"; ... 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-... 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 ... 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 ... 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 ... 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 "... 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 ... 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 ... 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 ... 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.... 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 ... 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 ... 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 ... 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 ... 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"; // ... 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.... `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)"). ... 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: ... 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 ... 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 ... 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: ... 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 ...

  • node.js
  • promise
  • undefined
  • javascript
  • reactjs
  • regex
  • undefined
  • c
  • bit-manipulation
  • undefined
  • bitwise-operators
  • division
  • codeigniter
  • model
  • controller
  • undefined
  • codeigniter-3
  • css
  • sass
  • undefined
  • nuxt3.js
  • scss-mixins
  • javascript
  • for-loop
  • typeerror
  • undefined
  • innerhtml
  • nestjs
  • undefined
  • circular-dependency
  • javascript
  • reactjs
  • typescript
  • undefined
  • optional-chaining
  • mongodb
  • express
  • undefined
  • ejs
  • javascript
  • undefined
  • p5.js
  • audio-player
  • c++
  • inheritance
  • undefined
  • typescript
  • undefined
  • partial
  • javascript
  • undefined
  • void
  • javascript
  • for-loop
  • undefined
  • enumerable
  • typescript-never
  • typescript
  • undefined
  • typing
  • datepicker
  • null
  • undefined
  • prettier
  • typescript-eslint
  • reactjs
  • parameters
  • undefined
  • holder.js
  • javascript
  • express
  • undefined
  • intellij-idea
  • annotations
  • cucumber
  • undefined
  • javascript
  • reactjs
  • null
  • undefined
  • ref
  • typescript
  • undefined
  • javascript
  • html
  • typeerror
  • undefined
  • undefined
  • codeigniter-4
  • python
  • python-3.x
  • flask
  • undefined
  • flask-wtforms
  • c++
  • struct
  • linker
  • undefined
  • linker-errors
  • jquery
  • multidimensional-array
  • typeerror
  • undefined
  • flutter
  • dart
  • undefined
  • vuejs3
  • radio-button
  • components
  • dataset
  • undefined
  • javascript
  • environment-variables
  • undefined
  • javascript
  • function
  • asynchronous
  • async-await
  • undefined
  • go
  • undefined
  • goland
  • javascript
  • loops
  • recursion
  • undefined
  • jquery
  • for-loop
  • undefined
  • javascript
  • timer
  • undefined
  • content-security-policy
  • phishing
  • php
  • google-api
  • google-drive-api
  • undefined
  • intelephense
  • javascript
  • html
  • variables
  • undefined
  • javascript
  • properties
  • undefined
  • this
  • alpine.js
  • angular
  • typescript
  • runtime-error
  • undefined
  • typescript
  • undefined
  • javascript
  • undefined
  • is-empty
  • character
  • undefined
  • game-engine
  • behavior
  • loops
  • variables
  • ansible
  • nested
  • undefined
  • reactjs
  • undefined
  • mern
  • react-context
  • vue.js
  • vuejs3
  • undefined
  • vite
  • .env
  • ios
  • xcode
  • build
  • undefined
  • debug-symbols
  • react-native
  • react-navigation
  • undefined
  • stack-navigator
  • reactjs
  • undefined
  • vite
  • react-props
  • php
  • arrays
  • validation
  • undefined
  • form-submit
  • javascript
  • typescript
  • jestjs
  • undefined
  • ts-jest
  • javascript
  • google-chrome-devtools
  • undefined
  • microsoft-edge
vote icon

-1 -7 2 0 0 1 0 0 0 2 0 0 0 2 2 0 1 0 2 0 -3 0 -2 0 0 0 1 0 -1 -2 0 0 1 0 0 0 0 0 2 1 0 0 0 1 -1 0 1 0 1 0

comments icon

0 1 2 0 0 0 0 0 0 2 0 1 2 1 2 0 0 0 0 0 1 2 1 0 1 1 1 1 1 2 2 0 0 0 2 1 1 1 1 2 1 1 0 1 1 0 1 0 0 0

avatar icon

Jingmin Xuuser31528169uran42SyraxesRinkalbananas0102Naceur KhederAndrey Rafalskyiuser30069178user29731287CarllSebastian BarthAsleepaceOokerNate GlennDelilahPark JongBumMichelAydın FreeDinesh Kumaruser1269009Evan BairRaina ZahSmallCoder12cbcalvinuser2108555Avarage cat enjoyerVinceVinay Sankar GokavarapuYoan Pettorelli읎핎성user26789162post poop zoomiesFlora JiangIs 46Marek VinĂĄrčikuser2549382nullromoidkdramaticlookKirill ZelepukinVinay Sankar GokavarapuDusanArslan ZafarAnastasija Stojanovskashivam prajapatiilana aManoj KumarLuke Vo

stackoverflow icon

Dev to

The Cargo Cult

Ben Link

Ben Link

  • #leadership
  • #devops
  • #management
  • #software
vote icon

No reaction

comments icon

Add Comment

Code Reviews: Quality Control or Ego Olympics?

Adam - The Developer

Adam - The Developer

  • #code
  • #productivity
  • #programming
  • #tutorial
vote icon

No reaction

comments icon

18

Building Hijri Today: A Widget My Mom Actually Uses

Cahyanudien Aziz Saputra

Cahyanudien Aziz Saputra

  • #widget
  • #productivity
  • #mobile
  • #islam
vote icon

No reaction

comments icon

Add Comment

Introducing GoCVKit: Zero-Boilerplate Computer Vision in Go

Elliot Silver

Elliot Silver

  • #computervision
  • #go
  • #opensource
  • #programming
vote icon

No reaction

comments icon

2

How to Stop Your AI Agent From Making Unwanted Code Changes

RizĂšl Scarlett

RizĂšl Scarlett

  • #ai
  • #agents
  • #goose
  • #git
vote icon

No reaction

comments icon

2

Introducing hiraku: A type-safe, imperative modal manager for shadcn/ui & Radix UI.

Hiroto Shioi

Hiroto Shioi

  • #react
  • #typescript
  • #shadcn
  • #webdev
vote icon

No reaction

comments icon

Add Comment

Advent of Polygon Interactions

Yordi Verkroost

Yordi Verkroost

  • #adventofcode
vote icon

No reaction

comments icon

Add Comment

Stop Writing try/except Hell: Clean Database Transactions with SQLAlchemy with the Unit Of Work

Ivan Korostenskij

Ivan Korostenskij

  • #python
  • #architecture
  • #tutorial
  • #learning
vote icon

No reaction

comments icon

2

My Newsletter: Growth, Fun, Slow & Steady

Nick Taylor

Nick Taylor

  • #newsletter
  • #contentcreation
vote icon

No reaction

comments icon

Add Comment

If claude-code lived inside your browser?

Alen-Jelco Todorov

Alen-Jelco Todorov

  • #browser
  • #extensions
  • #tailwindcss
vote icon

No reaction

comments icon

2

MCP Isn’t Hard, Here’s the Easiest Beginner-Friendly MCP MASTERCLASS EVERđŸ€— (PART 1)

Fonyuy Gita

Fonyuy Gita

vote icon

No reaction

comments icon

Add Comment

Advent of AI 2025 - Day 8: Messy Data to Structured Output

Nick Taylor

Nick Taylor

  • #adventofai
  • #netlify
  • #mcp
  • #ai
vote icon

No reaction

comments icon

Add Comment

Building MyTaskly: 11 Months of Developing an AI App at 16

Gabry848

Gabry848

  • #showdev
  • #devjournal
  • #android
  • #ai
vote icon

No reaction

comments icon

1 comment

Batch publishing Twitch chatroom messages - with AWS Lambda Durable Multi-Step Executions

Jack McGuire

Jack McGuire

  • #lambda
  • #serverless
  • #aws
  • #durable
vote icon

No reaction

comments icon

Add Comment

Building a Production-Ready Microservices Platform with CI/CD on AWS Free Tier

cypher682

cypher682

  • #cicd
  • #devops
  • #microservices
  • #aws
vote icon

No reaction

comments icon

Add Comment

How I built a TikTok Shadowban Checker, & more, using AI

Grant Visser aka GrumpyGit

Grant Visser aka GrumpyGit

  • #showdev
  • #ai
  • #webdev
  • #saas
vote icon

No reaction

comments icon

Add Comment

Thinking Tokens Are Not Created Equal: Why Benchmarks Can't Distinguish Between 'Search' and 'Insight' (A PCP Experiment)

ByteCodeProcessor

ByteCodeProcessor

  • #discuss
  • #ai
  • #learning
  • #computerscience
vote icon

No reaction

comments icon

Add Comment

Monolith app to Cloud-Native (Re-platforming)

nash9

nash9

  • #java
  • #docker
  • #architecture
  • #aws
vote icon

No reaction

comments icon

Add Comment

gradient triangle

An Orbital House of Cards: Frequent Megaconstellation Close Conjunctionsarxiv.org

avatar icon

rapnie

solid triangle

12

solid triangle

discuss

gradient triangle

Size of Lifeneal.fun

avatar icon

eatonphil

solid triangle

2284

solid triangle

253

gradient triangle

A “frozen” dictionary for Pythonlwn.net

avatar icon

jwilk

solid triangle

124

solid triangle

84

gradient triangle

Show HN: Local Privacy Firewall-blocks PII and secrets before ChatGPT sees themgithub.com/privacyshield-ai

avatar icon

arnabkarsarkar

solid triangle

53

solid triangle

19

gradient triangle

Disney making $1B investment in OpenAI, will allow characters on Sora AIcnbc.com

avatar icon

tiahura

solid triangle

76

solid triangle

29

gradient triangle

Oldest attestation of Austronesian language: ĐÎng YĂȘn ChĂąu inscriptionwikipedia.org

avatar icon

teleforce

solid triangle

12

solid triangle

discuss

gradient triangle

Getting a Gemini API key is an exercise in frustrationankursethi.com

avatar icon

speckx

solid triangle

676

solid triangle

266

gradient triangle

Australia begins enforcing world-first teen social media banreuters.com

avatar icon

chirau

solid triangle

879

solid triangle

1308

gradient triangle

Patterns.devpatterns.dev

avatar icon

handfuloflight

solid triangle

418

solid triangle

95

gradient triangle

The Cost of a Closure in Cthephd.dev

avatar icon

ingve

solid triangle

119

solid triangle

39

gradient triangle

Helldivers 2 on-disk size 85% reductionsteampowered.com

avatar icon

SergeAx

solid triangle

112

solid triangle

93

gradient triangle

How can I read the standard output of an already-running process?devblogs.microsoft.com/oldnewthing

avatar icon

ibobev

solid triangle

28

solid triangle

10

gradient triangle

How the Brain Parses Languagequantamagazine.org

avatar icon

mylifeandtimes

solid triangle

66

solid triangle

22

gradient triangle

Booting Linux in QEMU and Writing PID 1 in Go to Illustrate Kernel as Programserversfor.dev

avatar icon

birdculture

solid triangle

197

solid triangle

57

gradient triangle

Craft software that makes people feel somethingrapha.land

avatar icon

lukeio

solid triangle

13

solid triangle

5

gradient triangle

Auto-grading decade-old Hacker News discussions with hindsightkarpathy.bearblog.dev

avatar icon

__rito__

solid triangle

494

solid triangle

222

gradient triangle

Show HN: oeis-tui – A TUI to search OEIS integer sequences in the terminalgithub.com/hako

avatar icon

wesleyhill

solid triangle

18

solid triangle

1 comment

gradient triangle

Python Workers redux: fast cold starts, packages, and a uv-first workflowcloudflare.com

avatar icon

dom96

solid triangle

93

solid triangle

43

gradient triangle

Did that Colorado station sign say gas for only $1.69? Yes, it didcoloradosun.com

avatar icon

mooreds

solid triangle

9

solid triangle

1 comment

gradient triangle

How Google Maps allocates survival across London's restaurantslaurenleek.substack.com

avatar icon

justincormack

solid triangle

327

solid triangle

167

gradient triangle

Show HN: WhatHappened – HN summaries, heatmaps, and contrarian pickswhathappened.tech

avatar icon

marsw42

solid triangle

43

solid triangle

17

gradient triangle

VCMI: An open-source engine for Heroes IIIvcmi.eu

avatar icon

eamag

solid triangle

147

solid triangle

17

gradient triangle

Go's escape analysis and why my function return workedbonniesimon.in

avatar icon

bonniesimon

solid triangle

34

solid triangle

34

gradient triangle

Rubio stages font coup: Times New Roman ousts Calibrireuters.com

avatar icon

italophil

solid triangle

347

solid triangle

576

gradient triangle

Super Mario 64 for the PS1github.com/malucard

avatar icon

LaserDiscMan

solid triangle

267

solid triangle

102

gradient triangle

Show HN: Wirebrowser – A JavaScript debugger with breakpoint-driven heap searchgithub.com/fcavallarin

avatar icon

fcavallarin

solid triangle

52

solid triangle

11

gradient triangle

Qwen3-Omni-Flash-2025-12-01a next-generation native multimodal large modelqwen.ai

avatar icon

pretext

solid triangle

290

solid triangle

96

gradient triangle

Flow Where You Want – Guidance for Flow Modelsdrscotthawley.github.io

avatar icon

rundigen12

solid triangle

34

solid triangle

1 comment

gradient triangle

Show HN: Automated license plate reader coverage in the USAalpranalysis.com

avatar icon

sodality2

solid triangle

215

solid triangle

123

gradient triangle

Incomplete list of mistakes in the design of CSScsswg.org

avatar icon

OuterVale

solid triangle

162

solid triangle

107