Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't load file /../firebase.js ... . Encoding is not UTF-8

Describe your environment: Operating System version: mac os Firebase SDK version: 4.8.1 Firebase Product: database

Describe the problem: browser show error When I try add firebase.js to chrome extension: Can't load file /../firebase.js ... . Encoding is not UTF-8. I try convert it to utf-8 but browser show error anyway

Steps to reproduce: download firebase.js using https://www.gstatic.com/firebasejs/4.8.1/firebase.js add firebase.js to chrome extension package enable developer mode in chrome browser load extension to chrome browser

like image 292
Artem Viter Avatar asked Oct 18 '22 00:10

Artem Viter


1 Answers

search Ib=/\uffff/.test

then you will find the error cause

like image 56
willycha0119 Avatar answered Oct 21 '22 04:10

willycha0119