You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I check out the main branch of that repo and run yarn install and yarn docker build backend -t rafiki-backend, I get the following error:
➤ YN0000: ┌ Pack workspace backend
➤ YN0036: │ Calling the "prepack" lifecycle script
➤ YN0001: │ UsageError: Couldn't find knex@npm:0.21.19 [aa597] in the currently installed PnP map - running an install might help
at fl.findPackageLocation (/Users/raphael/workspace/rafiki/.yarn/releases/yarn-3.0.2.cjs:543:4529)
at /Users/raphael/workspace/rafiki/.yarn/releases/yarn-3.0.2.cjs:289:1296
at Function.from (<anonymous>)
at XI (/Users/raphael/workspace/rafiki/.yarn/releases/yarn-3.0.2.cjs:289:1040)
at UW (/Users/raphael/workspace/rafiki/.yarn/releases/yarn-3.0.2.cjs:289:1621)
at jQe (/Users/raphael/workspace/rafiki/.yarn/releases/yarn-3.0.2.cjs:288:2882)
at async /Users/raphael/workspace/rafiki/.yarn/releases/yarn-3.0.2.cjs:288:2135
at async Ft.mktempPromise (/Users/raphael/workspace/rafiki/.yarn/releases/yarn-3.0.2.cjs:177:62506)
at async VI (/Users/raphael/workspace/rafiki/.yarn/releases/yarn-3.0.2.cjs:288:2075)
at async HW (/Users/raphael/workspace/rafiki/.yarn/releases/yarn-3.0.2.cjs:288:4104)
However, when I try to manually run the pack using yarn workspace backend pack, the pack succeeds without an error. This suggests that there is some difference between the yarn context in use by the plugin, and the yarn context that is used normally. Do you know what it could be?
The text was updated successfully, but these errors were encountered:
Hi, thank you for the plugins!
We are using plugin-docker-build in rafiki
When I check out the
main
branch of that repo and runyarn install
andyarn docker build backend -t rafiki-backend
, I get the following error:However, when I try to manually run the pack using
yarn workspace backend pack
, the pack succeeds without an error. This suggests that there is some difference between the yarn context in use by the plugin, and the yarn context that is used normally. Do you know what it could be?The text was updated successfully, but these errors were encountered: