Error map
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 · layer 1, On your device
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.
Directly related (12)
Vue: [Vue warn]: Property "x" was accessed during render but is not defined on instance
The template references a variable/function that the component doesn’t expose.
Vue: [Vue warn]: Failed to resolve component: x
The template uses a component tag that isn’t registered or imported where it’s used.
Warning: `key` is not a prop. Trying to access it will result in `undefined` being returned.
A component tried to read props.key, which React reserves and never passes down.
Vue: [Vue warn]: Set operation on key "name" failed: target is readonly.
You mutated a readonly reactive object (props, `readonly()`, `shallowReadonly`, or a frozen/store state).
Vuex (strict mode): Error: [vuex] do not mutate vuex store state outside mutation handlers.
Store state was modified directly (in a component or action) while strict mode is on.
Warning: Received `true` for a non-boolean attribute `x`.
A boolean was passed to a DOM attribute that expects a string, or a custom prop leaked through to a DOM element.
Vue: [Vue warn]: Maximum recursive updates exceeded in component <Foo>. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself
A watcher/computed/render effect keeps changing the state it depends on, creating an infinite update loop.
Vue 2: [Vue warn]: Error in v-on handler: "TypeError: Cannot read property 'x' of undefined"
An exception was thrown inside a Vue 2 event handler or lifecycle hook, logged with context.
Vue: [Vue warn]: Extraneous non-props attributes (class) were passed to component but could not be automatically inherited because component renders fragment or text root nodes
Attributes (class, style, listeners) passed to a component can't be applied because the component has multiple root nodes.
Vue: [Vue warn]: Write operation failed: computed value is readonly
You assigned to a `computed` that has no setter.
Vue: [Vue warn]: Missing required prop: "title"
A component marked a prop as `required` but the parent didn't pass it.
Vue: [@vue/compiler-sfc] v-model cannot be used on a prop, because local prop bindings are not writable
A template uses `v-model` on a prop (or a `v-for` alias), which can't be assigned.
Two steps away (30)
ReferenceError: x is not defined
Code refers to a variable or function name that doesn’t exist in the current scope.
django.template.exceptions.TemplateDoesNotExist: app/page.html
Django searched all template directories and couldn’t find that template.
Angular: NG8002: Can't bind to 'ngModel' since it isn't a known property of 'input'
The template uses a property binding that no imported directive provides — for ngModel, FormsModule isn’t imported.
Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
A ref was passed to a function component that doesn’t forward it.
Vue: [Vue warn]: Component is missing template or render function.
A component object has neither `template` nor `render`, or an SFC import resolved wrongly.
Vue: [Vue warn]: Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js"
A component uses a string `template` but the runtime-only Vue build has no compiler.
Warning: Each child in a list should have a unique "key" prop
When rendering a list with `.map()`, each element needs a stable, unique `key` so React can track items between renders.
Warning: A component is changing an uncontrolled input to be controlled
An input’s `value` started as `undefined` (uncontrolled) and later became a defined value (controlled), or vice versa.
IndexError: list index out of range
Code accessed a list position that doesn’t exist.
Next.js: Error: Failed prop type: The prop `href` expects a `string` or `object` in `<Link>`, but got `undefined` instead
`` received `undefined` (or another invalid value), so Next.js can't build the link.
Vue: [Vue warn]: Invalid prop: type check failed for prop "count". Expected Number with value 5, got String with value "5"
A prop received a value of the wrong type.
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.
Vuex: [vuex] unknown mutation type: SET_USER / [vuex] unknown action type: fetchUser
`commit`/`dispatch` was called with a name that isn't registered in the store (or its module namespace).
Nuxt: [nuxt] error caught during app initialization TypeError: Failed to fetch dynamically imported module / Loading chunk failed
A browser tab running the old build requests chunk files that were replaced by a new deployment.
Nuxt: 404 Page not found: /blog/my-post / [Vue Router warn]: No match found for location with path
Nuxt's file-based router has no page matching the URL (wrong file/folder names or missing param syntax).
Error: Objects are not valid as a React child
You tried to render a plain object (or a Promise/Date) directly in JSX; React can only render strings, numbers, elements and arra…
Error: Nothing was returned from render. This usually means a return statement is missing.
A component returned undefined (React 17 and earlier) — usually a missing return or a return followed by a line break.
Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?
A component returns two sibling JSX elements without a single parent.
Vue: [Vue warn]: Unhandled error during execution of mounted hook / TypeError: Cannot read properties of undefined (reading 'x')
An exception was thrown inside a lifecycle hook, watcher, event handler or render, and Vue logs it with the context.
Vue 2: [Vue warn]: Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option
In Vue 2 you added a property to the root data (or instance) after creation, which can't be made reactive.
Vue: [Vue warn]: Vue received a Component that was made a reactive object — mark it with `markRaw` or use `shallowRef`
A component definition was stored in a `ref`/`reactive`, making Vue proxy it unnecessarily.
Nuxt: [vite] Internal server error: Failed to resolve import "~/components/Foo.vue" from "pages/index.vue". Does the file exist?
Vite couldn't resolve an alias import — the file doesn't exist at that path or the alias isn't defined.
Vue: [Vue warn]: Component emitted event "update" but it is neither declared in the emits option nor as an "onUpdate" prop
A component calls `emit("update")` without declaring it in `emits`.
Vue: [Vue warn]: injection "theme" not found.
`inject("theme")` ran but no ancestor provided it.
ESLint: Parsing error: Unexpected token < / Parsing error: '>' expected (vue-eslint-parser not configured)
ESLint can't parse `.vue` files because the Vue parser isn't configured.
Vue: [Vue warn]: Slot "default" invoked outside of the render function: this will not track dependencies used in the slot
A slot function was called outside render (in `setup`, a computed or watcher), so reactivity isn't tracked.
TypeScript: error TS2741: Property 'email' is missing in type '{ name: string; }' but required in type 'User'.
An object lacks one required property of the target type.
TypeScript: error TS7031: Binding element 'name' implicitly has an 'any' type.
A destructured parameter has no type, so its elements default to `any`.
Vue: [vue/no-use-v-if-with-v-for] / Vue 3: v-if has higher priority than v-for — property accessed during render is undefined
Using `v-if` and `v-for` on one element: in Vue 3, `v-if` runs first and can't see the loop variable.
Webpack: Error: [vue-loader] vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config.
Webpack config uses `vue-loader` but doesn't add its plugin.