Error map

404 on page refresh (history mode) Browser: Cannot GET /users/42 — refreshing a Vue Router history-mode page returns 404

Vue · layer 1, On your device

Open the full error page →

Centre: this error. First ring: errors it is linked with (12). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

404 on page refresh (history mode) — Browser: Cannot GET /users/42 — refreshing a Vue Router history-mode page returns 404 (Vue)404 on page…module MIME type — Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html" (JavaScript)module MIME typeMIME type not executable — Refused to execute script from 'x' because its MIME type ('text/html') is not executable (JavaScript)MIME type not execu…Unexpected token < — SyntaxError: Unexpected token '<' (HTML served instead of JavaScript) (JavaScript)Unexpected token <ChunkLoadError — ChunkLoadError: Loading chunk 123 failed. (JavaScript)ChunkLoadErrorFirebase Hosting: Page Not Found on refresh (SPA routes) — Firebase Hosting: Page Not Found — This file does not exist and there was no 404.html or index.html found in the document root (Google Cloud / Firebase)Firebase Hosting: P…Failed to fetch dynamically imported module / async component failed — Vue: TypeError: Failed to fetch dynamically imported module: https://app.example.com/assets/Settings-abc123.js (Vue)Failed to fetch dyn…NavigationDuplicated: Avoided redundant navigation to current location — Vue Router: Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location: "/home" (Vue)NavigationDuplicate…next() called multiple times in navigation guard — Vue Router: [Vue Router warn]: The "next" callback was called more than once in one navigation guard when going from "/a" to "/b" (Vue)next() called multi…Failed to find Server Action — Next.js: Error: Failed to find Server Action "abc123". This request might be from an older or newer deployment (Next.js)Failed to find Serv…Could not find a production build in the '.next' directory — Next.js: Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server (Next.js)Could not find a pr…[Vue Router warn]: No match found for location with path — Vue Router: [Vue Router warn]: No match found for location with path "/users/42" (Vue)[Vue Router warn]: …injection "Symbol(router)" not found / useRouter() called without router — Vue Router: [Vue warn]: injection "Symbol(router)" not found. / Cannot read properties of undefined (reading 'push') (Vue)injection "Symbol(r…App Service Application Error — Azure App Service: ":( Application Error" / container didn’t respond to HTTP pings (Azure)App Service Applica…FileNotFoundException assembly — Could not load file or assembly 'X, Version=…' or one of its dependencies (.NET)FileNotFoundExcepti…OPcache stale code — PHP still runs old code after deploy (OPcache not reset) (PHP)OPcache stale codeYou must install or update .NET to run this application — The framework 'Microsoft.NETCore.App', version '8.0.0' (x64) was not found. You must install or update .NET to run this application (.NET)You must install or…Refused to apply style from — Console: Refused to apply style from 'https://…/style.css' because its MIME type ('text/html') is not a supported stylesheet MIME type (Browser)Refused to apply st…Service worker registration failed — Console: Failed to register a ServiceWorker: A bad HTTP response code (404) was received when fetching the script (Browser)Service worker regi…SyntaxError: JSON — SyntaxError: Unexpected token < in JSON at position 0 (JavaScript)SyntaxError: JSONmissing ) — SyntaxError: missing ) after argument list (JavaScript)missing )already declared — SyntaxError: Identifier 'x' has already been declared (JavaScript)already declaredinvalid selector — DOMException: Failed to execute 'querySelector' on 'Document': 'x' is not a valid selector (JavaScript)invalid selectorCan't resolve 'fs' — Module not found: Can't resolve 'fs' (Next.js / webpack 5) (React)Can't resolve 'fs'Module parse failed — Module parse failed: Unexpected token. You may need an appropriate loader to handle this file type (React)Module parse failedMinified React error — Error: Minified React error #31; visit https://react.dev/errors/31 for the full message (React)Minified React errorFirebase CLI: Authentication Error: Your credentials are no longer valid — Firebase CLI: Error: Authentication Error: Your credentials are no longer valid. Please run firebase login --reauth (Google Cloud / Firebase)Firebase CLI: Authe…Firebase: Your project must be on the Blaze (pay-as-you-go) plan — Firebase CLI: Error: Your project my-app must be on the Blaze (pay-as-you-go) plan to complete this command. Required API cloudbuild.googleapis.com can't be enabled until the upgrade is complete (Google Cloud / Firebase)Firebase: Your proj…Vite failed to resolve import — [vite] Internal server error: Failed to resolve import "x" from "src/App.jsx". Does the file exist? (React)Vite failed to reso…Duplicate attribute (Vue template) — Vue: [plugin:vite:vue] Duplicate attribute. / [vue/no-duplicate-attributes] Duplicate attribute 'class' (Vue)Duplicate attribute…Vite: Failed to parse source / Unknown file extension ".vue" — Vite/Vue: [plugin:vite:import-analysis] Failed to parse source for import analysis — you may need to install appropriate plugins to handle the .vue file format (Vue)Vite: Failed to par…Failed to resolve component — Vue: [Vue warn]: Failed to resolve component: x (Vue)Failed to resolve c…Avoid mutating a prop directly — Vue: [Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders (Vue)Avoid mutating a pr…You have a Server Component that imports next/router. Use next/navigation instead — Next.js: You have a Server Component that imports next/router. Use next/navigation instead (Next.js)You have a Server C…getActivePinia() was called but there was no active Pinia — Pinia: Error: [🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"? (Vue)getActivePinia() wa…next build: JavaScript heap out of memory — Next.js: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory (during next build) (Next.js)next build: JavaScr…next build: fetch failed ECONNREFUSED (build-time API) — Next.js: Error occurred prerendering page "/blog" TypeError: fetch failed { cause: Error: connect ECONNREFUSED 127.0.0.1:3000 } (Next.js)next build: fetch f…Server actions must be async functions — Next.js: Error: Server actions must be async functions (Next.js)Server actions must…Page is missing generateStaticParams() (output: export) — Next.js: Page "/blog/[slug]" is missing "generateStaticParams()" so it cannot be used with "output: export" config (Next.js)Page is missing gen…Module not found: Can't resolve 'x' (Next.js build) — Next.js: Module not found: Can't resolve '@/components/Button' / 'lodash' in '/app/src' (Next.js)Module not found: C…Failed to compile: ESLint errors during next build — Next.js: Failed to compile. ./src/app/page.tsx 12:7 Error: 'x' is assigned a value but never used. @typescript-eslint/no-unused-vars (Next.js)Failed to compile: …path-to-regexp — TypeError: Missing parameter name at 1 (path-to-regexp) (Node.js)path-to-regexpNo routes matched — No routes matched location "/x" (React)No routes matchedNextRouter was not mounted — Error: NextRouter was not mounted. (React)NextRouter was not …[Vue warn]: injection "x" not found — Vue: [Vue warn]: injection "theme" not found. (Vue)[Vue warn]: injecti…

Directly related (12)

module MIME typeJavaScript

Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html"

A or dynamic import got HTML back instead of JavaScript.

MIME type not executableJavaScript

Refused to execute script from 'x' because its MIME type ('text/html') is not executable

The browser fetched a script but the server labelled it text/html (usually an error page), so it refused to run it.

Unexpected token <JavaScript

SyntaxError: Unexpected token '<' (HTML served instead of JavaScript)

The browser loaded a .js file but received HTML (an error page or the SPA index.html).

ChunkLoadErrorJavaScript

ChunkLoadError: Loading chunk 123 failed.

A lazily loaded JavaScript chunk couldn’t be downloaded — usually because a new deployment removed the old hashed files.

Firebase Hosting: Page Not Found on refresh (SPA routes)Google Cloud / Firebase

Firebase Hosting: Page Not Found — This file does not exist and there was no 404.html or index.html found in the document root

A single-page app route returns 404 when opened directly or refreshed, because Firebase Hosting looks for a real file at that pat…

Failed to fetch dynamically imported module / async component failedVue

Vue: TypeError: Failed to fetch dynamically imported module: https://app.example.com/assets/Settings-abc123.js

A lazy-loaded route/component chunk couldn't be loaded (new deployment removed old chunks, network issue, or wrong base path).

NavigationDuplicated: Avoided redundant navigation to current locationVue

Vue Router: Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location: "/home"

`router.push` to the route you're already on, rejecting the promise (Vue Router 3.1+).

next() called multiple times in navigation guardVue

Vue Router: [Vue Router warn]: The "next" callback was called more than once in one navigation guard when going from "/a" to "/b"

A navigation guard called `next()` more than once, which breaks navigation.

Failed to find Server ActionNext.js

Next.js: Error: Failed to find Server Action "abc123". This request might be from an older or newer deployment

The browser called a Server Action ID the current server build doesn't know — usually a version skew after a deploy.

Could not find a production build in the '.next' directoryNext.js

Next.js: Error: Could not find a production build in the '.next' directory. Try building your app with 'next build' before starting the production server

`next start` was run without a prior successful `next build` (or the `.next` folder is missing).

[Vue Router warn]: No match found for location with pathVue

Vue Router: [Vue Router warn]: No match found for location with path "/users/42"

The router has no route record matching that path (typo, missing route, or case/base issue).

injection "Symbol(router)" not found / useRouter() called without routerVue

Vue Router: [Vue warn]: injection "Symbol(router)" not found. / Cannot read properties of undefined (reading 'push')

`useRouter()`/`useRoute()` ran in a component tree where the router plugin isn't installed.

Two steps away (32)

App Service Application ErrorAzure

Azure App Service: ":( Application Error" / container didn’t respond to HTTP pings

App Service started your app but it crashed or never listened on the expected port.

FileNotFoundException assembly.NET

Could not load file or assembly 'X, Version=…' or one of its dependencies

The runtime couldn’t find or load a referenced DLL — missing from the output, wrong version, or wrong platform (x86/x64).

OPcache stale codePHP

PHP still runs old code after deploy (OPcache not reset)

OPcache keeps serving cached bytecode, so changes uploaded to the server don’t take effect.

You must install or update .NET to run this application.NET

The framework 'Microsoft.NETCore.App', version '8.0.0' (x64) was not found. You must install or update .NET to run this application

The machine doesn’t have the .NET runtime version the app was built for (framework-dependent deployment).

Refused to apply style fromBrowser

Console: Refused to apply style from 'https://…/style.css' because its MIME type ('text/html') is not a supported stylesheet MIME type

The stylesheet URL returned something that is not CSS — usually a 404/HTML error page — and `X-Content-Type-Options: nosniff` mak…

Service worker registration failedBrowser

Console: Failed to register a ServiceWorker: A bad HTTP response code (404) was received when fetching the script

The browser could not fetch, parse or install the service worker script, or the page is not allowed to register one (HTTPS and sc…

SyntaxError: JSONJavaScript

SyntaxError: Unexpected token < in JSON at position 0

`JSON.parse()` / `response.json()` received something that isn’t JSON — very often an HTML error page.

missing )JavaScript

SyntaxError: missing ) after argument list

A function call’s parentheses are unbalanced — often an unescaped quote or a missing comma/plus.

already declaredJavaScript

SyntaxError: Identifier 'x' has already been declared

The same let/const/class name was declared twice in the same scope.

invalid selectorJavaScript

DOMException: Failed to execute 'querySelector' on 'Document': 'x' is not a valid selector

The CSS selector string is invalid — often an ID starting with a digit or containing special characters.

Can't resolve 'fs'React

Module not found: Can't resolve 'fs' (Next.js / webpack 5)

A Node.js built-in (fs, path, crypto, net) is imported into code that runs in the browser bundle.

Module parse failedReact

Module parse failed: Unexpected token. You may need an appropriate loader to handle this file type

Webpack found syntax it can’t parse because no loader is configured for that file (JSX, TypeScript, CSS, or modern syntax in node…

Minified React errorReact

Error: Minified React error #31; visit https://react.dev/errors/31 for the full message

A production React build threw an error whose message was shortened to a number.

Firebase CLI: Authentication Error: Your credentials are no longer validGoogle Cloud / Firebase

Firebase CLI: Error: Authentication Error: Your credentials are no longer valid. Please run firebase login --reauth

The Firebase CLI's saved login expired or was revoked.

Firebase: Your project must be on the Blaze (pay-as-you-go) planGoogle Cloud / Firebase

Firebase CLI: Error: Your project my-app must be on the Blaze (pay-as-you-go) plan to complete this command. Required API cloudbuild.googleapis.com can't be enabled until the upgrade is complete

Deploying Cloud Functions needs the Blaze plan because it relies on Cloud Build and Artifact Registry.

Vite failed to resolve importReact

[vite] Internal server error: Failed to resolve import "x" from "src/App.jsx". Does the file exist?

Vite couldn’t find an imported file or package.

Duplicate attribute (Vue template)Vue

Vue: [plugin:vite:vue] Duplicate attribute. / [vue/no-duplicate-attributes] Duplicate attribute 'class'

The same attribute appears twice on an element in a template.

Vite: Failed to parse source / Unknown file extension ".vue"Vue

Vite/Vue: [plugin:vite:import-analysis] Failed to parse source for import analysis — you may need to install appropriate plugins to handle the .vue file format

Vite can't process `.vue` files because the Vue plugin isn't installed/enabled.

Failed to resolve componentVue

Vue: [Vue warn]: Failed to resolve component: x

The template uses a component tag that isn’t registered or imported where it’s used.

Avoid mutating a prop directlyVue

Vue: [Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders

A child component assigned to a prop. Props flow one way — the parent owns the value.

You have a Server Component that imports next/router. Use next/navigation insteadNext.js

Next.js: You have a Server Component that imports next/router. Use next/navigation instead

`next/router` (Pages Router) was imported in an App Router component.

getActivePinia() was called but there was no active PiniaVue

Pinia: Error: [🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?

A store was used before Pinia was installed or outside a component context (router guards, plain modules).

next build: JavaScript heap out of memoryNext.js

Next.js: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory (during next build)

Node ran out of memory while building a large Next.js app (or on a small CI/Vercel runner).

next build: fetch failed ECONNREFUSED (build-time API)Next.js

Next.js: Error occurred prerendering page "/blog" TypeError: fetch failed { cause: Error: connect ECONNREFUSED 127.0.0.1:3000 }

During `next build` a page tried to fetch data from a server (often your own app or an API) that isn't running yet.

Server actions must be async functionsNext.js

Next.js: Error: Server actions must be async functions

A function marked `"use server"` isn't declared `async`.

Page is missing generateStaticParams() (output: export)Next.js

Next.js: Page "/blog/[slug]" is missing "generateStaticParams()" so it cannot be used with "output: export" config

A dynamic route can't be statically exported without telling Next.js which paths to generate.

Module not found: Can't resolve 'x' (Next.js build)Next.js

Next.js: Module not found: Can't resolve '@/components/Button' / 'lodash' in '/app/src'

Webpack/Turbopack couldn't resolve an import — wrong path/alias, missing dependency or case mismatch.

Failed to compile: ESLint errors during next buildNext.js

Next.js: Failed to compile. ./src/app/page.tsx 12:7 Error: 'x' is assigned a value but never used. @typescript-eslint/no-unused-vars

`next build` runs ESLint and fails the build on lint errors.

path-to-regexpNode.js

TypeError: Missing parameter name at 1 (path-to-regexp)

An Express 5 (path-to-regexp v8) route uses old wildcard syntax like '*' or '/:id?'.

No routes matchedReact

No routes matched location "/x"

React Router found no route definition for the current URL.

NextRouter was not mountedReact

Error: NextRouter was not mounted.

next/router’s useRouter was used inside the App Router (app/ directory), which uses next/navigation instead.

[Vue warn]: injection "x" not foundVue

Vue: [Vue warn]: injection "theme" not found.

`inject("theme")` ran but no ancestor provided it.