@netlify/build-info
throws EDUPLICATEWORKSPACE
even with pnpm
#4848
Labels
type: bug
code to address defects in shipped code
Describe the bug
getBuildInfo
function in@netlify/build-info
throwsEDUPLICATEWORKSPACE
when there is a duplicated workspace names.Duplicated workspace names are not allowed by npm and yarn.
But it is supported by pnpm (pnpm/pnpm#5957).
I expect
getBuildInfo
function not to throw an error.Steps to reproduce
git switch build-info
pnpm i
node index.mjs
Configuration
Deploy logs
https://app.netlify.com/sites/dashing-marzipan-db6e0f/deploys/63ca28d308f3e100098fe2eb#L30
Here is the log, but it does not output any information that indicates that the error I described occurred. (netlify/build-image#898).
The text was updated successfully, but these errors were encountered: