protobuf-javascript icon indicating copy to clipboard operation
protobuf-javascript copied to clipboard

ReferenceError: goog is not defined

Open shihabkaranchery opened this issue 8 years ago • 4 comments

I follow the steps in the docs, convert the .proto message to myproto_libs.js file while importing the file

following error occurred ReferenceError: goog is not defined

shihabkaranchery avatar Jan 11 '18 07:01 shihabkaranchery

I also got this with the es6 output style. Everything works fine with commonjs though.

crazed avatar May 31 '18 16:05 crazed

I was also bitten by this bug and created PR protocolbuffers/protobuf#7059 to try to improve the situation a bit.

gdm85 avatar Jan 02 '20 14:01 gdm85

It looks like there are some half implemented features that are causing problems.

dibenede avatar Sep 23 '22 23:09 dibenede

Anyone have a fix for this?

wes-kay avatar Sep 14 '23 17:09 wes-kay