The Litecoin Developers are aware of a regression introduced in Litecoin Core v0.21.3. A certain number of users may see the error message "Prune mode is incompatible with -blockfilterindex."
on startup.
Locate the Litecoin Data Directory. By default this is located at:
macOS: ~/Library/Application Support/Litecoin
Linux: ~/.litecoin
Windows: %APPDATA%\Litecoin
Create a file named litecoin.conf
if this doesn't already exist.
Edit the litecoin.conf
file with the following text:
blockfilterindex=0
peerblockfilters=0
The Litecoin Developers plan to release a new patch. Which will automatically detect if prune mode is enabled, and if so, will not attempt to enable blockfilterindex.
just create a file and paste the code wherever you create custom folder or default folder