Closed cabljac closed 2 months ago
Seems to be a similar issue in /plugins/google-cloud for me, i think there might be an opentelemetry version mismatch or something?
Hey @cabljac this is a duplicate of https://github.com/firebase/genkit/issues/453. You will need to make sure you are running a version of pnpm
that matches the project configuration (currently 9.3.0
).
Since this is coming up a few times now (inclduing internally), we'll see how we can smooth this out.
Duplicate of https://github.com/firebase/genkit/issues/453.
Thanks @MichaelDoyle, I think just mentioning pnpm update
in CONTRIBUTING.md would totally be sufficient then
Jacob - will do.
BTW, we found that pnpm fixed a bug where it didn't properly respect the version enforcement, leading to the original error you received. Going forward, you should only see "errors" if you upgrade ahead of the pnpm version genkit is configured for. The error should be clear in that case, and you can typically update the version/sha in the package.json to get things moving.
Thanks for the quick response!
Describe the bug
When I clone the repo and follow the contributing guide, i get an error
To Reproduce
git clone ...
cd genkit && pnpm i
pnpm run setup
in core I get:
Expected behavior The setup to complete without error Screenshots If applicable, add screenshots to help explain your problem.
Runtime (please complete the following information):
node --version
at paste here v20.11.1 Additional context Add any other context about the problem here.Get the same error when
cd js/core && pnpm build
It's complaining about the following:
https://github.com/firebase/genkit/blob/main/js/core/src/tracing.ts#L60-L61