enketo-core
enketo-core copied to clipboard
Problem with preinstall script on windows
There is a problem with preinstall script on windows:
"preinstall": "test -f ./node_modules && ./scripts/preinstall || true"
Can you please change this script to something windows friendly?
Think of an alternative and send in a PR.
Actually, I am not really sure what would be the alternative. but if you can just make it work with windows? Or maybe just remove that preinstall script. Here is the error for your information:
Command: test -f ./node_modules && .\scripts\preinstall || true
Arguments:
Directory: D:\MyDTM\Apps\DQMv2\DQM\webpack\node_modules\enketo-core
Output:
'test' 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.
Closing in favor of #855