Describe the Bug
When running npm install on Windows, the installation fails during the postinstall lifecycle hook.
The current postinstall script relies on POSIX/bash-specific syntax ([ and || true), which is not recognized by the default Windows Command Prompt (cmd.exe).
Error Log
> openwa@0.1.6 postinstall
> [ -d dashboard ] && npm run dashboard:install || true
'[' is not recognized as an internal or external command,
operable program or batch file.
'true' is not recognized as an internal or external command,
operable program or batch file.
npm error code 1
Describe the Bug
When running
npm installon Windows, the installation fails during thepostinstalllifecycle hook.The current
postinstallscript relies on POSIX/bash-specific syntax ([and|| true), which is not recognized by the default Windows Command Prompt (cmd.exe).Error Log