Setting up Volto involves several steps, including cloning the repository, starting the backend via Docker, and initiating the frontend using pnpm start. However, despite the backend running smoothly on localhost, I encountered an error when attempting to start the frontend:
@plone/volto@18.0.0-alpha.39 start D:\GSOC\volto\packages\volto
make build-deps && razzle start
'razzle' is not recognized as an internal or external command,
operable program or batch file.
D:\GSOC\volto\packages\volto:
ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL @plone/volto@18.0.0-alpha.39 start: make build-deps && razzle start
Exit status 1
ELIFECYCLE Command failed with exit code 1.
I am seeking guidance and assistance from the community to resolve this configuration problem effectively.
@plone/volto@18.0.0-alpha.39 start D:\GSOC\volto\packages\volto
make build-deps && razzle start
'razzle' is not recognized as an internal or external command,
operable program or batch file.
D:\GSOC\volto\packages\volto:
ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL @plone/volto@18.0.0-alpha.39 start: make build-deps && razzle start
Exit status 1
ELIFECYCLE Command failed with exit code 1.
I attempted to install Razzle using 'pnpm install razzle', and then ran 'pnpm start' again, but encountered the same error.
did you run pnpm install in the root of the volto monorepo?
You should also update your checkout to the latest version from main, there is alpha.41 and your paste says still alpha.39
EDIT:
I have just checked out the volto repo.
pnpm install
pnpm start
and it ran fine.
Try to checkout the repo in another folder, do these steps and if Volto doesn't start paste the result in a gist and add a comment