When building the CLI on Windows, it will throw an error in the prepackage step. This is due to different handling of script variables in Windows.
A temporary solution for Windows users is to update the applications/klighd-cli/package.json file with this line: "prepackage": "echo exports.VERSION = \"%npm_package_version%\"; > ./lib/version.js",.
As this only works in Windows and not in Linux/MacOS a better solution should be found that works for all OSs.
When building the CLI on Windows, it will throw an error in the
prepackage
step. This is due to different handling of script variables in Windows. A temporary solution for Windows users is to update theapplications/klighd-cli/package.json
file with this line:"prepackage": "echo exports.VERSION = \"%npm_package_version%\"; > ./lib/version.js",
. As this only works in Windows and not in Linux/MacOS a better solution should be found that works for all OSs.