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)
- it's not obvious how to change the url HOT 1
- No way to search if themer removes search (search in toolbar/contents)
- It's confusing that links to files behave different to editors than public HOT 10
- not intuitive to use contents on parent to perform actions on object HOT 5
- Volto 18: yarn i18n / make i18n-ci fails in CI because it changes package.json HOT 1
- Login status is not properly determined by the application HOT 2
- Add EXPERIMENTAL disclaimer to experimental packages and apps `README.md`s
- when using effective date field from SelectMetadataField in search results, null dates are showing as 31/12/1969
- Missing Documentation for token Option in plone/client while initializing the client
- Code complexity high, readability low
- A11y: ToC Block links are not marked as ToC links HOT 1
- Uncaught RangeError: date value is not finite in DateTimeFormat.format HOT 1
- Icon view from Object browser is missing logic to introduce disabled class
- Relations control panel: Displaying eligible targets does not consider constraints of the fields vocabulary
- Copy paste container blocks do not generate new ids for contained blocks. HOT 1
- changeNote input UI field not showing up in edit view when versioning behaviour is active on content type due to CSS "display: none;"
- DateTimeWidget uses content language rather than current user's language for format HOT 7
- @plone/types dependency conflict with react-intl's React peer dependency HOT 6
- Teaser Refresh source content button crashes edit page
- RAZZLE_PUBLIC_URL is overridden by server.jsx code HOT 1
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.