-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Postinstall fails on pnpm fetch #5928
Comments
According to my local tests, the issue was introduced in https://github.com/netlify/cli/releases/tag/v15.8.0 |
This adds an undeclared dependency on @opentelemetry/core which fixes pnpm users of @netlify/build. See: honeycombio/honeycomb-opentelemetry-node#207 Fixes netlify/cli#5928
Ran into this myself today trying to use In the mean time, the easiest workaround in pnpm is to use {
"pnpm": {
"packageExtensions": {
"@honeycomb/opentelemetry-node": {
"dependencies": {
"@opentelemetry/core": "*"
}
}
}
}
} |
Hey folks 👋 Apologies for taking so long to tackle this one but I think this has been addressed with the latest CLI release - https://github.com/netlify/cli/blob/main/CHANGELOG.md#17131-2024-01-11 This packs - netlify/build#5446 - which takes care of removing most of our OTEL dependencies from build execept for the OTEL API. Feel free to re-open if this doesn't fix it for you. |
Describe the bug
Latest version of
netlify-cli
fails on postinstall withpnpm fetch
Steps to reproduce
Repro: https://github.com/Leksat/netlify-cli-pnpm-fetch
Actions: https://github.com/Leksat/netlify-cli-pnpm-fetch/blob/main/.github/workflows/test.yml
Result: https://github.com/Leksat/netlify-cli-pnpm-fetch/actions/runs/5781917546/job/15667786482
Configuration
No response
Environment
Local env:
But the issue happens on Linux as well.
The text was updated successfully, but these errors were encountered: