Gatling report generation sbt 1.5.5 (java 11)

I am trying to generate report but getting error tried both options ( gatling:generateReport and Gatling / generateReport) as below
# sbt “Gatling / generateReport /generate_report/target/gatling/perf-folder”
[info] welcome to sbt 1.5.5 (Red Hat, Inc. Java 11.0.17)
[info] loading project definition from /opt/controller/project
[info] set current project to controller (in build file:/opt/controller/)
[error] Expected key
[error] Not a valid key: generateReport (similar: progressReports)
[error] Gatling / generateReport /generate_report/target/gatling/perf-1674065456
[error] ^

The correct command is sbt "Gatling / generateReport perf-1674065456". The parameter is the name of the folder in the expected directory, not its path.

[root@ip-10-27-93-88 gatling]# sbt "Gatling / generateReport perf-1674113416

"
[info] welcome to sbt 1.5.5 (Red Hat, Inc. Java 11.0.17)
[info] loading project definition from /opt/controller/generate_report/target/gatling/project
[info] set current project to gatling (in build file:/opt/controller/generate_report/target/gatling/)
[error] Expected key
[error] Not a valid key: generateReport (similar: progressReports)
[error] Gatling / generateReport perf-1674113416
[error] ^

Still error whenusing folder

You’re most likely using very old version of sbt and gatling-sbt.
You can fetch the official and up-to-date sample and check for yourself that it works as expected.