Hi,
I'm trying to add Protobuf to my Chrome Extension project and I get an
error that the compiled JS file is not UTF-8 encoded.
Could not load file 'dist/build.js' for content script. It isn't UTF-8
encoded.
I used npm to install google-protobuf v3.11.4.
Mac OS 10.14.6
Node v10.8.0
Npm v6.2.0
I can confirm this is an error with google-protobuf because the compiled JS
file loads correctly in the Chrome Extension when I don't have the require
statement:
require('google-protobuf')
Has anyone seen this before/know a way to fix this? I can't seem to find
exactly what in the google-protobuf package could be broken.
Thanks
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/protobuf/18398c56-f255-4a8a-b49a-633efdb4bff3%40googlegroups.com.