Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7.6.6: Cannot convert undefined or null to object #716

Closed
simon-kolkmann opened this issue Nov 28, 2024 · 1 comment
Closed

7.6.6: Cannot convert undefined or null to object #716

simon-kolkmann opened this issue Nov 28, 2024 · 1 comment

Comments

@simon-kolkmann
Copy link

simon-kolkmann commented Nov 28, 2024

[email protected] breaks vite (5.4.10):

> vite

error when starting dev server:
TypeError: Cannot convert undefined or null to object
    at Function.values (<anonymous>)
    at configureServer (file:///app/client/node_modules/vite-plugin-vue-devtools/node_modules/vite-plugin-inspect/dist/index.mjs:1403:12)
    at configureServer (file:///app/client/node_modules/vite-plugin-vue-devtools/node_modules/vite-plugin-inspect/dist/index.mjs:1489:19)
    at _createServer (file:///app/client/node_modules/vite/dist/node/chunks/dep-BWSbWtLw.js:63080:26)
    at async CAC.<anonymous> (file:///app/client/node_modules/vite/dist/node/cli.js:735:20)

Minimal vite.config.js:

import { defineConfig } from 'vite'
import vueDevTools from 'vite-plugin-vue-devtools'

export default defineConfig(() => {
	return {
		plugins: [vueDevTools()]
	}
})

A downgrade to 7.6.5 fixes the issue.

@webfansplz
Copy link
Member

Thanks for the feedback. Fixed in v7.6.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants