"'DOMAIN' is not recognized" build error when building on Windows OS
Hello. When I attempt to build the Glass Wallet Workspace (Production) on Windows OS, I get the following error during the npm run build-all
step:
$ npm run build-all
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
> glass-wallet-workspace@0.1.26 build-all
> DOMAIN=$(if [ "$DOMAIN" = "" ]; then echo "glass.local"; else echo "$DOMAIN"; fi) npm run octopus -- build && npm run backup-tool
'DOMAIN' is not recognized as an internal or external command,
operable program or batch file.
This error only occurred for me in a Windows OS environment. I was able to successfully build the project via MacOS. The details of the Windows environment I used are as follows:
Windows 10 Education N
Node v16.15.1
npm v8.11.0
Terminals used: MING64W, Powershell (error occurs on both terminals)
Thanks!