Receiving an Error: -createchunkinstall must specify the chunk install data directory with

I am attempting to compile and package an HTML5 build with the following results:

Any help would be appreciated thanks

UATHelper: Packaging (HTML5): Running AutomationTool…
UATHelper: Packaging (HTML5): Parsing command line: -ScriptsForProject=“J:/dData/Unreal Projects/Earth2Orbit/EarthOrbitEntryOil.uproject” BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=“J:/dData/Unreal Projects/Earth2Orbit/EarthOrbitEntryOil.uproject” -cook -stage -archive -archivedirectory=“J:/dData/Unreal Projects/Earth2Orbit/Html5Build
01” -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -prereqs -nodebuginfo -manifests -targetplatform=HTML5 -build -manifests -createchunkinstall -chunkinstalldirectory= -chunkinstallversion= -utf8output
UATHelper: Packaging (HTML5): Setting up ProjectParams for J:\dData\Unreal Projects\Earth2Orbit\EarthOrbitEntryOil.uproject
UATHelper: Packaging (HTML5): ERROR: -createchunkinstall must specify the chunk install data directory with -chunkinstalldirectory=
UATHelper: Packaging (HTML5): (see C:\Users\User\AppData\Roaming\Unreal Engine\AutomationTool\Logs\G+Epic+Games+UE_4.18\UAT_Log.txt for full exception trace)
UATHelper: Packaging (HTML5): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (HTML5): BUILD FAILED
PackagingResults: Error: Unknown Error
LogSlate: Took 0.000283 seconds to synchronously load lazily loaded font ‘…/…/…/Engine/Content/Editor/Slate/Fonts/DroidSansMono.ttf’ (77K)

Here is the UAT_Log:

InternalUtils.SafeFileExists: SafeFileExists J:\dData\Unreal Projects\Earth2Orbit\EarthOrbitEntryOil.uproject=True
ExceptionUtils.PrintExceptionInfo: ==============================================================================
ExceptionUtils.PrintExceptionInfo: ERROR: -createchunkinstall must specify the chunk install data directory with -chunkinstalldirectory=
ExceptionUtils.PrintExceptionInfo: (see C:\Users\User\AppData\Roaming\Unreal Engine\AutomationTool\Logs\G+Epic+Games+UE_4.18\UAT_Log.txt for full exception trace)
ExceptionUtils.PrintExceptionInfo:
ExceptionUtils.PrintExceptionInfo: AutomationException: -createchunkinstall must specify the chunk install data directory with -chunkinstalldirectory=
ExceptionUtils.PrintExceptionInfo: at AutomationTool.ProjectParams.Validate()
ExceptionUtils.PrintExceptionInfo: at AutomationTool.ProjectParams.ValidateAndLog()
ExceptionUtils.PrintExceptionInfo: at AutomationTool.ProjectParams…ctor(FileReference RawProjectPath, BuildCommand Command, String Device, String MapToRun, String AdditionalServerMapParams, ParamList1 Port, String RunCommandline, String StageCommandline, String BundleName, String StageDirectoryParam, String UE4Exe, String SignPak, List1 ClientConfigsToBuild, List1 ServerConfigsToBuild, ParamList1 MapsToCook, ParamList1 MapIniSectionsToCook, ParamList1 DirectoriesToCook, String InternationalizationPreset, ParamList1 CulturesToCook, ParamList1 ClientCookedTargets, ParamList1 EditorTargets, ParamList1 ServerCookedTargets, List1 ClientTargetPlatforms, Dictionary2 ClientDependentPlatformMap, List1 ServerTargetPlatforms, Dictionary2 ServerDependentPlatformMap, Nullable1 Build, Nullable1 SkipBuildClient, Nullable1 SkipBuildEditor, Nullable1 Cook, Nullable1 Run, Nullable1 SkipServer, Nullable1 Clean, Nullable1 Compressed, Nullable1 UseDebugParamForEditorExe, Nullable1 IterativeCooking, Nullable1 IterateSharedCookedBuild, Nullable1 IterateSharedBuildUsePrecompiledExe, Nullable1 CookAll, Nullable1 CookPartialGC, Nullable1 CookInEditor, String CookOutputDir, Nullable1 CookMapsOnly, Nullable1 CookOnTheFly, Nullable1 CookOnTheFlyStreaming, Nullable1 UnversionedCookedContent, Nullable1 EncryptIniFiles, Nullable1 EncryptPakIndex, Nullable1 EncryptEverything, Nullable1 SkipCookingEditorContent, Nullable1 NumCookersToSpawn, String AdditionalCookerOptions, String BasedOnReleaseVersion, String CreateReleaseVersion, String CreateReleaseVersionBasePath, String BasedOnReleaseVersionBasePath, Nullable1 GeneratePatch, Nullable1 AddPatchLevel, Nullable1 StageBaseReleasePaks, Nullable1 GenerateRemaster, String DLCName, String DiffCookedContentPath, Nullable1 DLCIncludeEngineContent, Nullable1 CrashReporter, Nullable1 DedicatedServer, Nullable1 Client, Nullable1 Deploy, String DeployFolder, Nullable1 FileServer, Nullable1 Foreign, Nullable1 ForeignCode, Nullable1 LogWindow, Nullable1 NoCleanStage, Nullable1 NoClient, Nullable1 NoDebugInfo, Nullable1 MapFile, Nullable1 NoXGE, Nullable1 Package, Nullable1 Pak, Nullable1 Prereqs, String AppLocalDirectory, Nullable1 NoBootstrapExe, Nullable1 SignedPak, Nullable1 NullRHI, Nullable1 FakeClient, Nullable1 EditorTest, Nullable1 RunAutomationTests, String RunAutomationTest, Nullable1 CrashIndex, Nullable1 SkipCook, Nullable1 SkipCookOnTheFly, Nullable1 SkipPak, Nullable1 SkipStage, Nullable1 Stage, Nullable1 Manifests, Nullable1 CreateChunkInstall, Nullable1 Unattended, Nullable1 NumClients, Nullable1 Archive, String ArchiveDirectoryParam, Nullable1 ArchiveMetaData, Nullable1 CreateAppBundle, ParamList1 ProgramTargets, Nullable1 Distribution, Nullable1 Prebuilt, Nullable1 RunTimeoutSeconds, String SpecifiedArchitecture, Nullable1 IterativeDeploy, Nullable1 FastCook, Nullable1 IgnoreCookErrors, Nullable1 RunAssetNativization, Nullable1 CodeSign, Nullable1 TreatNonShippingBinariesAsDebugFiles, String Provision, String Certificate, String Team, Boolean AutomaticSigning, ParamList1 InMapsToRebuildLightMaps, ParamList1 TitleID)
ExceptionUtils.PrintExceptionInfo: at BuildCookRun.SetupParams()
ExceptionUtils.PrintExceptionInfo: at BuildCookRun.ExecuteBuild()
ExceptionUtils.PrintExceptionInfo: at AutomationTool.BuildCommand.Execute()
ExceptionUtils.PrintExceptionInfo: at AutomationTool.Automation.Execute(List1 CommandsToExecute, Dictionary2 Commands)
ExceptionUtils.PrintExceptionInfo: at AutomationTool.Automation.Process(String[] Arguments)
ExceptionUtils.PrintExceptionInfo: at AutomationTool.Program.MainProc(Object Param)
ExceptionUtils.PrintExceptionInfo: at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
ExceptionUtils.PrintExceptionInfo: at AutomationTool.Program.Main()
ExceptionUtils.PrintExceptionInfo: ==============================================================================
Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)

Solved it!
You need to populate the install data directory and staging directory.

I added the data directory inside the staging directory of my HTML5 build:

Follow up:

I used different directory drives but the project and packaging should be built on the same drive.

Did you managed to use chunks with HTML5? Can you share the details for setting it up?