Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [referenceerror]

Anything related to JavaScript ReferenceError that it is thrown when trying to dereference a variable that has not been declared.

referenceerror
-1 votes
0 answers
32 views

I'm using an API to pull NFL data for this upcoming seasons and I'm getting a reference error in my code. Why am I getting this reference error [duplicate]

function fetchImage() { const options = { method: 'GET', headers: { 'x-rapidapi-key': secretkey, 'x-rapidapi-host': 'nfl-api-data.p.rapidapi.com' } ...
Jace Johnson's user avatar
0 votes
1 answer
37 views

CF7 "ReferenceError: jQuery is not defined"

When I run PageSpeed Insight on ChoicePlumbingOrlando.com, I get this error: "ReferenceError: jQuery is not defined at https://choiceplumbingorlando.com/wp-content/plugins/cf7-redirection/js/...
Gary Shif's user avatar
-1 votes
0 answers
25 views

ReferenceError: window and document is not defined in vanilla JavaScript code

Screenshot of my code I'm encountering the error 'ReferenceError: window is not defined' when executing this code in VSCode. The code runs perfectly fine in the browser. window.addEventListener('...
Aj_'s user avatar
  • 1
0 votes
0 answers
46 views

Cannot find package 'aws-sdk' imported from /var/task/index.mjs

i am getting this error even after having the correct configuration using nodejs 18 { "errorType": "ReferenceError", "errorMessage": "require is not defined ...
software's user avatar
-1 votes
0 answers
28 views

ReferenceError: Property 'BeforeUnloadEvent' doesnt exist, js engine: hermes

ReferenceError: Property 'BeforeUnloadEvent' doesn't exist, js engine: hermes ERROR Invariant Violation: "main" has not been registered. This can happen if: Metro (the local dev server) is ...
Ishan's user avatar
  • 1
0 votes
0 answers
17 views

TestCafe > TypeScript> ReferenceError: aut_fe_e2e_core_1 is not defined" How to fix this

TestCafe > TypeScript> while execution got below error " An error occurred in ClientFunction code: ReferenceError: aut_fe_e2e_core_1 is not defined" seems this is a package error how ...
Anjaly Govindan's user avatar
0 votes
1 answer
205 views

ReferenceError: self is not defined in nextjs

I am working on downloading the html as pdf in next.js project. So, I used html2pdf.js package. This is my code. import html2pdf from 'html2pdf.js'; import ReactDOMServer from 'react-dom/server'; ...
Rogier's user avatar
  • 1
0 votes
1 answer
54 views

Why I'm getting "ReferenceError: e is not defined" error in my cloud shell terminal when I'm trying to run "node importTestData customers_1000.csv"?

Recently, I was attempting to complete a Qwiklab, Importing Data to a Firestore Database, on the Google Cloud Skills Boost website. Everything was fine until I reached the 4th task, "Task 4. ...
Mohd Kashif's user avatar
0 votes
0 answers
35 views

Uncaught ReferenceError: require is not defined in Angular 13

Getting this reference error after running the project (Check the link) While debugging it is pointing to this particular function (Check the link) I have tried removing the require function but still ...
Beingcoder's user avatar
0 votes
0 answers
50 views

any npm command not running even though node and npm installed

I'm not able to run any npm command not even "init" or "version" ones. It shows me following error: % npm --version evalmachine.<anonymous>:44 } = primordials; ^ ...
RITIK SINGH's user avatar
2 votes
0 answers
223 views

TextDecoder is not defined when testing react component

I have created a project that is using firebase for authentication and real-time database and i have created a simple test case for the component that the top option of the select element should be '...
Yash Jounwar's user avatar
0 votes
1 answer
67 views

issue with nextjs build. ReferenceErrror: window is not defined

I am trying to build my app, but I cannot figure out why this ReferenceError: window is not defined should be occurring especially since I am using 'use client' "use client"; import React, { ...
Caleb Bellmyer's user avatar
0 votes
1 answer
263 views

Next.js ReferenceError: document is not defined on prerendering /write page

I'm building an open-source blogging platform with Next.js and encountering a frustrating error during deployment. When trying to prerender the /write page, I receive the following error: ...
Muhammad Kaif Nazeer's user avatar
0 votes
1 answer
55 views

Using Macro to archive Cell Range to second sheet sometimes loses Range Value and results in Reference Error

brand new user coming in peace. Joined just now to hopefully get some help with some Macros I have set up. Apologies if I use any incorrect terminology or language. The strange thing is that in some ...
Jared Beattie's user avatar
0 votes
1 answer
461 views

`regeneratorRuntime is not defined` error in react-speech-recognition even afer running `npm i --save regenerator-runtime`

I'm using Vite for running my react application and want to use react-speech-recognition module but I'm getting the error regeneratorRuntime is not defined. Even after running the command npm i --...
user22793041's user avatar

15 30 50 per page
1
2 3 4 5
38