Not able to run 'Stream' Procedures

Hi Everyone,
I am not able to run the "Stream" procedures and getting this error:

Failed to invoke procedure `streams.consume`: Caused by:
java.lang.NoSuchMethodError: 'java.io.File
org.neo4j.io.layout.DatabaseLayout.databaseDirectory()'

I am using Neo4j Desktop version - 4.2.1

I have already enabled the following in neo4j settings:

*dbms.security.procedures.unrestricted=gds.*,apoc.*,streams.*
*streams.procedures.enabled=true*

Please advice !

Are you using the right version of the streams library that fits with your database version?