[SOLVED] Getting Error while using NPM to install packages in volto

When you follow this guide (doc) to clone the plone/volto repository on your system, I tried to install all the node packages uisng npm install and I got the following errors:

npm ERR! Unsupported URL Type "workspace:": workspace:*

This can be fixed if we just use pnpm in place of npm.
I am writing this post because I KNOW it is mentioned to use pnpm install but IMHO it will be better if we put a note there saying that it will generate error if npm is used.

It is not practical to document what developers should not do. It's hard enough documenting what they should do!

If you deliberately do not follow documentation, then you are on your own.

1 Like