stackoverflow icon

Stackoverflow

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 workingWhen submitting data through an EJS form, all data get returned as "undefined"Why are my songs showing up as undefined?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 annotationholder.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?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 propsTypeError: 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 wellvue js Cannot find module './undefined'How to pass variable to function if exists?Unable to read "wr_en, fifo_in" data using module instantiationEnforce generic function parameter to accept only types that include undefined and/or null [duplicate]Uncaught TypeError: isObject is not a functionWhy do object keys become undefined if they are accessed via an JSX element?

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 ... 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 ... 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 ... 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 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 ... 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 ... I'm using Vuejs, and calling my symfony API with a get route. I have the result, an array of objects, but I still have this error: Cannot find module './undefined' When I try with an array with only ... I have a json sample getting it from a function, and have to pass some of it's parameters to my function but if they exist. def myfunction(var1=None): some code return if myjson['parameter1'] ... Is there anything wrong with my instantiation? 8 to 32 bit converter is working fine. Input to fifo is read only when wr_en is high. wr_en is connected to output signal of valid_q (when valid_q=1, ... How to enforce generic function parameter to accept only types that include undefined and null: function foo<T>(val: T) { ... } let fooNonNullOrUndefined: string = "foo" foo(... i am working on a project using Laravel / vuejs vite and i have a problem in IconBase.js in ant-design-vue package and exactly on : var twoToneColorPalette = reactive({ primaryColor: '#333', ... In Preact, I want to display an object: export default function Component() { const obj = { a: 'a', b: 'b'} const elements = []; for (const [key, value] of Object.entries(obj)) { elements....

  • 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
  • mongodb
  • express
  • undefined
  • ejs
  • javascript
  • undefined
  • p5.js
  • audio-player
  • typescript
  • undefined
  • partial
  • javascript
  • undefined
  • void
  • javascript
  • for-loop
  • undefined
  • enumerable
  • typescript-never
  • typescript
  • undefined
  • typing
  • 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
  • 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
  • javascript
  • typescript
  • jestjs
  • undefined
  • ts-jest
  • javascript
  • google-chrome-devtools
  • undefined
  • microsoft-edge
  • vue.js
  • module
  • undefined
  • python
  • undefined
  • variable-assignment
  • undefined
  • port
  • verilog
  • instantiation
  • fifo
  • typescript
  • null
  • undefined
  • laravel
  • vue.js
  • undefined
  • vite
  • object
  • jsx
  • undefined
  • preact
vote icon

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

comments icon

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

avatar icon

user31528169uran42SyraxesRinkalbananas0102Naceur Khederuser30069178user29731287Sebastian BarthAsleepaceOokerNate GlennPark JongBumMichelAydın FreeDinesh Kumaruser1269009Evan BairRaina ZahSmallCoder12cbcalvinuser2108555Avarage cat enjoyerVinceVinay Sankar GokavarapuYoan Pettorelli이해성post poop zoomiesFlora JiangIs 46Marek Vinárčikuser2549382nullromoidkdramaticlookKirill ZelepukinVinay Sankar GokavarapuDusanArslan ZafarAnastasija Stojanovskashivam prajapatiManoj KumarLuke VoSBAhosseinfclARUNA MSebastian Barthessaber yahyaOoker

stackoverflow icon

Dev to

What was your win this week??

Jess Lee

Jess Lee

  • #discuss
  • #weeklyretro
vote icon

No reaction

comments icon

23

Congrats to the OpenClaw Challenge Winners!

Jess Lee

Jess Lee

  • #devchallenge
  • #openclawchallenge
  • #openclaw
  • #ai
vote icon

No reaction

comments icon

20

Join the Gemma 4 Challenge: $3,000 prize pool for TEN winners!

Jess Lee

Jess Lee

  • #devchallenge
  • #gemmachallenge
  • #gemma
vote icon

No reaction

comments icon

37

I Didn’t Stop Building. I Just Left My Laptop.

Aryan Choudhary

Aryan Choudhary

  • #career
  • #learning
  • #development
  • #workplace
vote icon

No reaction

comments icon

32

The Local Model That Doesn't Sleep: Gemma 4 + MTP as a Marathon Engine

Ertuğrul Demir

Ertuğrul Demir

  • #ai
  • #gemma
  • #devchallenge
  • #gemmachallenge
vote icon

No reaction

comments icon

3

I Replaced My $500 GPU with a $75 Raspberry Pi: How Gemma 4 Makes Computer Vision 10x Cheaper

S M Tahosin

S M Tahosin

  • #discuss
  • #computervision
  • #devchallenge
  • #gemmachallenge
vote icon

No reaction

comments icon

6

5 types of engineers I met as a Technical Writer

Klaudia Grzondziel

Klaudia Grzondziel

  • #watercooler
  • #technicalwriting
  • #discuss
  • #jokes
vote icon

No reaction

comments icon

18

I built a Ruby gem so I don't have to squint at hash dumps anymore

Ender Ahmet Yurt

Ender Ahmet Yurt

  • #ruby
  • #cli
  • #rubygems
vote icon

No reaction

comments icon

Add Comment

Welcome to the DEVengers Organization! A group of Extraordinary Individuals that Influenced Dev.to the platform has ever seen!

FrancisTRᴅᴇᴠ (っ◔◡◔)っ

FrancisTRᴅᴇᴠ (っ◔◡◔)っ

  • #discuss
  • #community
  • #watercooler
  • #meta
vote icon

No reaction

comments icon

2

Building ADK Agents with Phi Models on Azure Foundry

xbill

xbill

  • #microsoftphi4
  • #agents
  • #googleadk
  • #gemini
vote icon

No reaction

comments icon

Add Comment

How a Hackathon Will Teach a New Developer What a Year of Tutorials Can't

MLH Team

MLH Team

  • #career
  • #careerdevelopment
  • #learning
  • #hackathon
vote icon

No reaction

comments icon

2

I Built My Mom an AI Recipe Helper for Mother's Day

Ifeanyi O.

Ifeanyi O.

  • #aws
  • #ai
  • #agents
  • #mothersday
vote icon

No reaction

comments icon

5

Best MCP Gateways for Enterprise Teams in 2026

Varshith V Hegde

Varshith V Hegde

  • #ai
  • #webdev
  • #productivity
  • #mcp
vote icon

No reaction

comments icon

2

Gemma 4 Has Four Models. Here's Which One You Actually Need

Nirbhay Gautam

Nirbhay Gautam

  • #devchallenge
  • #gemmachallenge
  • #gemma
vote icon

No reaction

comments icon

2

Deploying a Multi-Agent System with Terraform and Cloud Run

Shir Meir Lador

Shir Meir Lador

  • #googlecloud
  • #terraform
  • #ai
  • #agents
vote icon

No reaction

comments icon

Add Comment

The Best Developer AI Tools of 2026 Q1 — What Actually Changed in Real Workflows

Marxon

Marxon

  • #ai
  • #webdev
  • #programming
  • #productivity
vote icon

No reaction

comments icon

5

Real Startup Engineering Lessons From 4+ Years of Experience

Boopathi

Boopathi

  • #startup
  • #developer
vote icon

No reaction

comments icon

Add Comment

Building ADK Agents with Azure Cloud Shell

xbill

xbill

  • #phimodel
  • #azurefoundry
  • #azurecloudshell
  • #gemini
vote icon

No reaction

comments icon

Add Comment

gradient triangle

Google Cloud Fraud Defence is just WEI repackagedprivatecaptcha.com

avatar icon

ribtoks

solid triangle

515

solid triangle

251

gradient triangle

Lets Encrypt Stopping Issuance for Potential Incidentstatus.io

avatar icon

rbaudibert

solid triangle

39

solid triangle

8

gradient triangle

AI Is Breaking Two Vulnerability Culturesjefftk.com

avatar icon

speckx

solid triangle

74

solid triangle

24

gradient triangle

What we lost the last time code got cheappoppastring.com

avatar icon

speckx

solid triangle

40

solid triangle

21

gradient triangle

Cartoon Network Flash Gameswebdesignmuseum.org

avatar icon

willmeyers

solid triangle

176

solid triangle

57

gradient triangle

Serving a website on a Raspberry Pi Zero running in RAMbtxx.org

avatar icon

xngbuilds

solid triangle

148

solid triangle

59

gradient triangle

An Introduction to Meshtasticmeshtastic.org

avatar icon

ColinWright

solid triangle

305

solid triangle

116

gradient triangle

Bjarne Stroustrup: How do I deal with memory leaks? (2022)stroustrup.com

avatar icon

theanonymousone

solid triangle

51

solid triangle

35

gradient triangle

A web page that shows you everything the browser told it without askingsinceyouarrived.world

avatar icon

mwheelz

solid triangle

413

solid triangle

205

gradient triangle

Show HN: GETadb.com – every GET request creates a DBgetadb.com

avatar icon

nezaj

solid triangle

8

solid triangle

1 comment

gradient triangle

David Attenborough's 100th Birthdaybbc.com

avatar icon

defrost

solid triangle

189

solid triangle

21

gradient triangle

PC Engine CPUjsgroth.dev

avatar icon

ibobev

solid triangle

96

solid triangle

39

gradient triangle

My first in-prod corrupted hard drive problempavementlink.ch

avatar icon

r1chk1t

solid triangle

4

solid triangle

4

gradient triangle

Rumors of my death are slightly exaggerated

avatar icon

CliffStoll

solid triangle

1247

solid triangle

195

gradient triangle

Google Broke reCAPTCHA for De-Googled Android Usersreclaimthenet.org

avatar icon

anonymousiam

solid triangle

54

solid triangle

12

gradient triangle

Apple, Intel have reached preliminary chip-making dealreuters.com

avatar icon

scrlk

solid triangle

127

solid triangle

69

gradient triangle

Cloudflare to cut about 20% of its workforcereuters.com

avatar icon

PriorityLeft

solid triangle

1222

solid triangle

863

gradient triangle

Poland is now among the 20 largest economiesapnews.com

avatar icon

surprisetalk

solid triangle

781

solid triangle

669

gradient triangle

Mojo 1.0 Betamojolang.org

avatar icon

sbt567

solid triangle

196

solid triangle

136

gradient triangle

US Government releases first batch of UAP documents and videoswar.gov

avatar icon

david-gpu

solid triangle

163

solid triangle

257

gradient triangle

Canvas online again as ShinyHunters threatens to leak schools’ datatheverge.com

avatar icon

stefanpie

solid triangle

885

solid triangle

589

gradient triangle

pg_flight_recorder: Continuously sample PostgreSQL system state via pg_crongithub.com/dventimisupabase

avatar icon

tanelpoder

solid triangle

6

solid triangle

discuss

gradient triangle

Maybe you shouldn't install new software for a bitxeiaso.net

avatar icon

psxuaw

solid triangle

790

solid triangle

410

gradient triangle

Podman rootless containers and the Copy Fail exploitgarrido.io

avatar icon

ggpsv

solid triangle

95

solid triangle

20

gradient triangle

Show HN: Git for AI Agentsgithub.com/regent-vcs

avatar icon

doshay

solid triangle

72

solid triangle

41

gradient triangle

Ask HN: We just had an actual UUID v4 collision...

avatar icon

mittermayr

solid triangle

205

solid triangle

194

gradient triangle

GeoJSONgeojson.org

avatar icon

tosh

solid triangle

131

solid triangle

63

gradient triangle

Dirtyfrag: Universal Linux LPEopenwall.com

avatar icon

flipped

solid triangle

768

solid triangle

308

gradient triangle

ClojureScript Gets Async/Awaitclojurescript.org

avatar icon

Borkdude

solid triangle

255

solid triangle

61

gradient triangle

The surprisingly complex journey to text-selectable client-side generated PDFssdocs.dev

avatar icon

FailMore

solid triangle

65

solid triangle

52