Starting recently (sorry, have tried to pinpoint when but this project has only been built intermittently over the past year), during the yarn install phase of my multi-stage docker build, I have started getting these errors which have prevented the build from succeeding, can you advise?
Could it be to do with the compilation phase of protobuf?
Command yarn install --frozen-lockfile. Have included some potential context around it but cannot tell if it's related or not:
[...]
2023-10-04T02:08:09.8273002Z #13 138.8 [4/4] Building fresh packages...
2023-10-04T02:08:10.1155109Z #13 139.1 info This package requires node-gyp, which is not currently installed. Yarn will attempt to automatically install it. If this fails, you can run "yarn global add node-gyp" to manually install it.
2023-10-04T02:08:10.2288873Z #13 139.2 info If you think this is a bug, please open a bug report with the information provided in "/usr/local/share/.config/yarn/global/yarn-error.log".
2023-10-04T02:08:10.2289954Z #13 139.2 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
2023-10-04T02:08:10.2291255Z #13 139.2 error An unexpected error occurred: "/app/node_modules/quirrel/node_modules/protobufjs: Cannot read properties of undefined (reading 'getOption')".
[...]
Expected behavior/code
The package installs as expected. Note I can install fine on my Mac using the same commands.
Bug Report
Thanks for your awesome library.
Current Behavior
Starting recently (sorry, have tried to pinpoint when but this project has only been built intermittently over the past year), during the
yarn install
phase of my multi-stage docker build, I have started getting these errors which have prevented the build from succeeding, can you advise?Could it be to do with the compilation phase of
protobuf
?Command
yarn install --frozen-lockfile
. Have included some potential context around it but cannot tell if it's related or not:Expected behavior/code The package installs as expected. Note I can install fine on my Mac using the same commands.
Environment
yarn install v1.22.19