Configuring a frontend package manager for Vaadin

This topic is the discussion thread for the Vaadin documentation page Configuring a frontend package manager for Vaadin.

Questions, feedback, and comments are welcome here.

Why is npm recommended? Isn't pnpm better and faster?

Yes, you're right. The main argument for using npm is compatibility. It’s the de facto standard, and since frontend tools and libraries are so varied, scripts and hooks might have hardcoded assumptions about the tooling. This can cause some setups to fail with pnpm.  I think these issues used to be worse than nowadays, but it’s still something to be aware of.