3.0: moogBundle is not a valid top level property
See original GitHub issueTo Reproduce
Step by step instructions to reproduce the behavior:
- Add
moogBundle
property to any A3 module - Look at the CLI output (app crashed) with message something along the lines
moogBundle is not a valid top level property
Expected behavior
Accept moogBundle property as a valid one
Describe the bug
moogBundle is required for bundled modules (such as Apostrophe Blog). There is a trace in https://github.com/apostrophecms/apostrophe/blob/3.0.0-alpha.3/index.js#L184 of the functionality and indeed mogBundle is required to be a top level property, but it seems the module validator is not accepting this prop.
Details
Version of Node.js: any
Server Operating System: any
Apostrophe CMS version 3.0.0-alpha.3
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Module configuration options - Apostrophe 3 Documentation
If added on the top level of the page object, these properties will not be editable through the user interface. Properties other than ......
Read more >apostrophe/CHANGELOG.md at main · apostrophecms ...
If you saw the error RangeError: Invalid value: Not in inclusive range 0..145: -1 you can now fix that by upgrading with npm...
Read more >Invalid top-level property "app01". Valid top-level sections ...
I tried to change the version number in the docker-compose file to 3.3 but that also did not work. my docker-compose file looks...
Read more >apostrophe-headless
There are no other projects in the npm registry using ... See the results property for an array of products included in the...
Read more >Invalid top-level property "app". : r/docker
Invalid top -level property "app". Valid top-level sections for this Compose file are: version, services, networks, volumes, secrets, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Miro, would you mind submitting a PR that adds this change and also renames the key to just
bundle
? Thanks!On Mon, Jan 18, 2021 at 2:00 AM Miro Yovchev notifications@github.com wrote:
–
THOMAS BOUTELL | CHIEF TECHNOLOGY OFFICER APOSTROPHECMS | apostrophecms.com | he/him/his
Found it. For those interested in ‘monkey-patching’ (just override in your node modules, on every node_modules update) this while waiting for the next alpha/beta:
node_modules/apostrophe
folder'moogBundle' to the
validKeys` array