Closed regisb closed 2 years ago
@regisb
I ran tutor images build mfe
and it worked, and I can confirm the resulting image has the arm64
architecture. 👍🏻
@regisb Unfortunately I continue to run into an error on this.
tutor images build mfe
#49 73.51 > @pact-foundation/pact-node@10.13.8 postinstall /openedx/app/node_modules/@pact-foundation/pact-node
#49 73.51 > node postinstall.js
#49 73.51
#49 73.72 /openedx/app/node_modules/@pact-foundation/pact-node/standalone/install.js:41
#49 73.72 throw new Error(chalk_1.default.red("Error while installing binary: " + msg));
#49 73.72 ^
#49 73.72
#49 73.72 Error: Error while installing binary: Cannot find binary for platform 'linux' with architecture 'arm64'.
#49 73.72 at throwError (/openedx/app/node_modules/@pact-foundation/pact-node/standalone/install.js:41:11)
#49 73.72 at getBinaryEntry (/openedx/app/node_modules/@pact-foundation/pact-node/standalone/install.js:289:11)
Why is it working for @bradenmacdonald but not for @jigsawlabs-student? Are you quite sure that you checked out the "regisb/fix-arm-build" branch on your local Tutor repository? Did you also run tutor config save && tutor images build mfe
?
Let me try again with checking out the fix arm branch..thanks for clarifying that.
On Thu, Mar 31, 2022 at 9:01 AM Régis Behmo @.***> wrote:
Why is it working for @bradenmacdonald https://github.com/bradenmacdonald but not for @jigsawlabs-student https://github.com/jigsawlabs-student? Are you quite sure that you checked out the "regisb/fix-arm-build" branch on your local Tutor repository? Did you also run tutor config save && tutor images build mfe?
— Reply to this email directly, view it on GitHub https://github.com/overhangio/tutor-mfe/pull/42#issuecomment-1084547662, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANKFJMH5S5CIOAC3YUBV3FTVCWOZTANCNFSM5QVTON2Q . You are receiving this because you were mentioned.Message ID: @.***>
OK without further information I'll assume that this fixes image building on arm64.
Additional requirements are required, and we cannot download the pact binary on arm64: https://github.com/pact-foundation/pact-js-core/issues/264
Close #31.