Skip to content

contributing: pnpm i with pnpm v9 after updating deps conflicts with nx #744

@maiieul

Description

@maiieul

If you pnpm i with pnpm v9 and above after updating a dependency, you'll get the following error:

TypeError: Cannot read properties of undefined (reading 'CYAN600')
  25 |
  26 |   options.style = options.style ?? ThemeStyle.SIMPLE;
> 27 |   options.primaryColor = options.primaryColor ?? ThemePrimaryColor.CYAN600;
     |                                                                    ^
  28 |
  29 |   options.borderRadius = options.borderRadius ?? ThemeBorderRadius['BORDER-RADIUS-0'];
  30 |

  at setupTailwindGenerator (src/generators/setup-tailwind/setup-tailwind-generator.ts:27:68)
  at Object.<anonymous> (src/generators/setup-tailwind/setup-tailwind-generator.spec.ts:83:33)

It has been reported already nrwl/nx#22481, but needs an MRE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions