if you didn't run the command pipx run cookiecutter gh:plone/cookiecutter-volto in your shell and you just copied an existing project.
Then even after having activated Node using nvm, you'll get an error if you try to rebuild frontend & backend using make install.
make install
bash: line 1: pnpm: command not found
make: *** [Makefile:36: install] Error 127
It is necessary to execute the command corepack enable to get this working.
Maybe it is possible, to react to the situation a user is working with an existing project and cover this in the make install command of the Makefile.
If not, maybe there should be a hint in the readme - something like:
if you like to install an existing project,
just make sure you activated nvm & execute `corepack enable`
before `make install`.
if you didn't run the command
pipx run cookiecutter gh:plone/cookiecutter-volto
in your shell and you just copied an existing project. Then even after having activated Node using nvm, you'll get an error if you try to rebuild frontend & backend usingmake install
.It is necessary to execute the command
corepack enable
to get this working. Maybe it is possible, to react to the situation a user is working with an existing project and cover this in themake install
command of the Makefile. If not, maybe there should be a hint in the readme - something like: