-
Notifications
You must be signed in to change notification settings - Fork 9
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
Volto 18 how can I correct install this, please update document #426
Comments
@sneridagh Is this because the theme needs to be configured a different way with a pnpm-based project? |
I don't sure, yarn pnpm ... already make me confuse. maybe now is not the time to study |
@mactrash I think you detected a problem in the instructions.
Sorry about that, I will update the instructions right now. |
@mactrash I double check, the instructions are correct, but could be confusing. We would improve them soon. |
@sneridagh please forgive me, I cam complete new to Volto Is that
"dependencies": { to /frontend/package.json
/frontend/volto.config.js as const addons = ['@kitconcept/volto-light-theme']; module.exports = {
no error
and result sswp> !!! Script exited with code 1 And frontend not started |
@davisagli I also try add add "addons": [ to /frontend/package.json modify as const addons = ['@kitconcept/volto-light-theme']; module.exports = { pnpm install HOST=x.x.x.x pnpm start sswp> !!! Script exited with code 1 And frontend not started |
I also tried setting up vlt in frest project generated by cookieplone and getting this error
git diff
Volto: "version": "18.0.0", |
@mactrash If you don't give us the error, we cannot do anything. The config in your first comment looks fine. In the second, you didn't remove the placeholder "your_policy_addon_here". We improved a bit the docs: https://volto-light-theme.readthedocs.io/ @iRohitSingh It seems you forgot to declare the theme in
|
@sneridagh in https://volto-light-theme.readthedocs.io/install.html we make a lot of assumptions that folks might not understand. Maybe we should add a link to https://6.docs.plone.org/volto/development/add-ons/install-an-add-on.html. |
@sneridagh may I know what is ""your_policy_addon_here"" |
While I change the volto.config.js to module.exports = { It result /mnt/HDD2/VOLTO/test-com/frontend/core/packages/volto: |
He means remove that line from your I can't speak to the latest error message, as you need to provide a complete console output that includes the commands you used. IOW, help us reproduce the issue you experience. |
I follow the step added dependencies and addon
make install etc
And got below when try to run with pnpm start
TypeError: Cannot read properties of undefined (reading 'modulePath')
at defaultModify (/mnt/HDD2/VOLTO/test-com/frontend/core/packages/volto/razzle.config.js:331:57)
at modifyWebpackConfig (/mnt/HDD2/VOLTO/test-com/frontend/core/packages/volto/razzle.config.js:457:27)
at /mnt/HDD2/VOLTO/test-com/frontend/node_modules/.pnpm/razzle@4.2.18_@babel[email protected]_babel-preset-razzle@[email protected]_html-webpack-plugin_nvra5mldcm7qyfv3nq5oebxjbi/node_modules/razzle/config/createConfigAsync.js:1069:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
/mnt/HDD2/VOLTO/test-com/frontend/core/packages/volto:
ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL @plone/[email protected] start:
make build-deps && razzle start
Exit status 1
ELIFECYCLE Command failed with exit code 1.
The text was updated successfully, but these errors were encountered: