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

Cannot read properties of undefined (reading 'browserHash') #10

Closed
bodograumann opened this issue Apr 1, 2022 · 3 comments
Closed

Cannot read properties of undefined (reading 'browserHash') #10

bodograumann opened this issue Apr 1, 2022 · 3 comments

Comments

@bodograumann
Copy link

I have just tried using the latest version 0.2.5, but got the following error:

3:26:36 PM [vite] Internal server error: Cannot read properties of undefined (reading 'browserHash')
      at transformIndexHtml (/home/bodo/proj/node_modules/vite-plugin-vue-inspector/dist/index.js:538:48)
      at applyHtmlTransforms (/home/bodo/proj/node_modules/vite/dist/node/chunks/dep-611778e0.js:27150:27)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
      at async viteIndexHtmlMiddleware (/home/bodo/proj/node_modules/vite/dist/node/chunks/dep-611778e0.js:55903:28)

I am also using vite-plugin-html-2.1.2. Maybe there is a conflict?

@webfansplz
Copy link
Owner

Thanks for your feedback, Can you provide a mini repo ?

@lakca
Copy link

lakca commented Apr 5, 2022

截屏2022-04-05 下午6 10 06

截屏2022-04-05 下午6 11 56

@webfansplz

relative code in vite has been refactored. commit here & issue

@webfansplz
Copy link
Owner

Fixed in V0.3.0 !

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

3 participants