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

在 Vite中使用报错 TypeError: Cannot read properties of undefined (reading 'fingerprint') #71

Open
sfyang2 opened this issue Dec 27, 2023 · 2 comments

Comments

@sfyang2
Copy link

sfyang2 commented Dec 27, 2023

// background.ts

import { sendMessage } from "webext-bridge/background";
sendMessage("test",{data:"test"}) //error: TypeError: Cannot read properties of undefined (reading 'fingerprint')

//demo
//使用 vite-vue3-browser-extension-v3 模版创建的就能复现这个问题

@quninnd
Copy link

quninnd commented Jan 8, 2024

同样的问题

@frei-l
Copy link

frei-l commented May 20, 2024

same problem, check #57. be careful with import.

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