PWA can't build Robocopy not found undefined properties HTML

Hi!

I am trying to build my PWA but get this error
PWA can’t build Robocopy and up further in the log: not found undefined properties HTML

Can you help?
Thanks,
Reece

appbuilder-pwa@0.0.1 build
ts-node convert/index.ts && vite build

C:\Users\user\AppData\Local\Temp\App Builder\build\SAB.001\p\appbuilder-pwa\convert\convertConfig.ts:349
filename: fTag.innerHTML,
^
TypeError: Cannot read properties of undefined (reading ‘innerHTML’)
at convertConfig (C:\Users\user\AppData\Local\Temp\App Builder\build\SAB.001\p\appbuilder-pwa\convert\convertConfig.ts:349:36)
at ConvertConfig.run (C:\Users\user\AppData\Local\Temp\App Builder\build\SAB.001\p\appbuilder-pwa\convert\convertConfig.ts:1052:22)
at Object. (C:\Users\user\AppData\Local\Temp\App Builder\build\SAB.001\p\appbuilder-pwa\convert\index.ts:41:43)
at Module._compile (node:internal/modules/cjs/loader:1241:14)
at Module.m._compile (C:\Users\user\AppData\Local\Temp\App Builder\build\SAB.001\p\appbuilder-pwa\node_modules\ts-node\src\index.ts:1618:23)
at Module._extensions…js (node:internal/modules/cjs/loader:1295:10)
at Object.require.extensions. [as .ts] (C:\Users\user\AppData\Local\Temp\App Builder\build\SAB.001\p\appbuilder-pwa\node_modules\ts-node\src\index.ts:1621:12)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at Function.Module._load (node:internal/modules/cjs/loader:938:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)

Copying PWA to output folder
‘robocopy’ is not recognized as an internal or external command,
operable program or batch file.

Hello @Reece_MegaVoice,

I sent you an email asking if you could share your project.

Thanks,

Chris

Hello @Reece_MegaVoice,

The real issue reported above was that you had audio elements without audio files but included the timing files. I didn’t realize that SAB would allow this. I have fixed this specific issue and the fix is issue and it is available if you go to the Publishing > Web App (PWA) > Respository page and select Latest from the Repository which will use the most recent source code for the PWA.

I tried to continue to run your project. You have a lot of DOCX files with custom styles. SAB uses SFM as its internal storage format and converts DOCX files to SFM. These files are not USFM (i.e. SFM using only markers from the USFM standard). It converts paragraphs or spans into custom markers (e.g. \p_Style1) and includes custom styles in the project. You can see these custom styles on the Appearance > Styles > Imported Styles page in SAB.

When we designed the PWA, we decided to use Proskomma, which is a Javascript library that can parse USFM. It is a stricter parser that the one implemented in Java code in SAB. So it cannot handle these custom markers generated by the DOCX to SFM conversion.

I will meet the author of Proskomma to see what we can do.

Thanks,

Chris