Skip to content
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

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

Open
maiieul opened this issue May 18, 2024 · 0 comments
Open

Comments

@maiieul
Copy link
Contributor

maiieul commented May 18, 2024

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.

@maiieul maiieul changed the title Using pnpm v9 and above and making package.json changes conflicts with nx pnpm i with pnpm v9 after updating deps conflicts with nx May 18, 2024
@maiieul maiieul changed the title pnpm i with pnpm v9 after updating deps conflicts with nx contributing: pnpm i with pnpm v9 after updating deps conflicts with nx May 18, 2024
@maiieul maiieul mentioned this issue May 18, 2024
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant