Vue启动 Error in event handler for runtime.onMessage: TypeError: Cannot read property 'join' of undef...

本文解决了一个常见的Vue应用程序启动时在浏览器中出现的错误问题,详细分析了错误信息,并提供了具体的解决方案,即修正index.js文件中错误的路径配置。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

vue 启动时   在浏览器中报错

 Error in event handler for runtime.onMessage: TypeError: Cannot read property 'join' of undefined
    at Object.getPageLang (chrome-extension://hlppekcioiicbfafmmgikkdkljnjpiao/content.js:1:8920)
    at chrome-extension://hlppekcioiicbfafmmgikkdkljnjpiao/content.js:8:46945 
 
谷歌中报错
 
Refused to load the image 'http://192.168.9.15:8081/favicon.ico' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.
 
原因是因为不小心更改了index.js中的路径

 

 

将前面的。去掉即可

转载于:https://www.cnblogs.com/suiyide/p/11542826.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值