While building the raw specs:
./target/release/kylin-collator build-spec --chain=rococo_democracy.json --raw --disable-default-bootnode > rococo_raw_democracy.json
I get
2022-07-08 16:00:00 Building chain spec
Error: Service(Other("Error parsing spec file: unknown field `democracy`, expected one of `system`, `parachainSystem`, `parachainInfo`, `sudo`, `balances`, `vesting`, `collatorSelection`, `session`, `aura`, `auraExt`, `polkadotXcm`, `crowdloanRewards`, `ormlTokens` at line 86 column 18"))
In the chain_spec.rs, this fields is coded as such:
democracy: DemocracyConfig::default(),
Node compile is fine as well as the build spec.