Comments (4)
Hmm, I got the same error earlier today while trying volto 17 on a project that was previously using volto 16 -- but I was able to resolve it by updating razzle to 4.2.18 like it says in the upgrade guide.
Probably needs a close look to see what is going wrong with the generator. Does yarn why razzle
reveal multiple versions of razzle used in different places, by any chance?
from volto.
@fredvd @sneridagh says an alpha of the generator is needed. Make sure you're setting the environment variable that was added here: collective/cookiecutter-plone-starter#87
(Maybe we can make the cookiecutter do that automatically based on the selected version, instead of needing an env var?)
from volto.
I started the project with Volto 17, but the cookiecutter / stable 3.6.x volto generator creates a package.json with razzle 4.2.17. I bumped that version to 4.2.18 manuall and reran yarn, but that didn't help, so maybe that's also what happens when upgrading Volto from 16 to 17.
Would be nice indeed if cookiecutter could switch the Volto generator listed based on the Volto version. I didn't do that because I was almost at the end of the wizard and didn't want to restart the thing again for setting an env variable. :-)
from volto.
I tested once more, merged the PR and tested it right away after that. The volto generator version now correctly selects an alpha version as well if you pass in an alpha Volto version. If you stick with a 16.20 volto version the generator is using the released 6.3.1.
Thank you @davisagli & reviewers !!
> cookiecutter https://github.com/collective/cookiecutter-plone-starter
You've downloaded /Users/fred/.cookiecutters/cookiecutter-plone-starter before. Is it okay to delete and re-download it? [yes]: yes
project_title [Project Title]: testsite2
project_slug [testsite2]:
description [A new project using Plone 6.]:
author [Plone Foundation]:
email [[email protected]]:
python_package_name [testsite2]:
Select python_test_framework:
1 - pytest
2 - unittest
Choose from 1, 2 [1]: 1
plone_version [6.0.6]:
volto_version [16.21.2]: 17.0.0-alpha.15
volto_generator_version [7.0.0-alpha.4]:
from volto.
Related Issues (20)
- sitemap-index should try to do a minimal search
- settings.publicURL is required setting for any large public website HOT 2
- plones default robots.txt prevents google indexing if ?expand used HOT 1
- Can't customize an index.js
- Remove any mention of LTS
- RecurrenceWidget produces values that can't be successfully parsed back HOT 4
- Items from horizontal table of contents getting out of the viewport
- Preview Image does not use HTTPS HOT 6
- Add cs translations HOT 2
- Mouse-pasting text with embedded HTML anchor yields unrenderable page and disrupted browsing session HOT 2
- Relations-controlpanel wrongly complains about outdated plone.restapi HOT 2
- Wrong constant in volto-slate for tfoot HOT 3
- I can create a columns block without having to hack the container primitive UI HOT 7
- naked file and image urls no longer download the file (causing SEO problems)
- Add option to hide title block HOT 2
- Listing block network fetches strategy problems HOT 1
- Listing block stores block id in its data HOT 2
- Infinite loop of requests using Google translate HOT 2
- broken links and themes HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from volto.