-
Notifications
You must be signed in to change notification settings - Fork 0
Windows Compatibility #5
Description
This service is not necessarily Windows-compatible. Windows natively has disabled running scripts on its environment, and unless this is completely disabled across the OS, scripts may not be allowed (which this tool is). That is a bad solution for many reasons as explained in the linked Stack Overflow thread on this topic.
Therefore, we must find a way to execute this script on Windows. We might need to release a Windows executable version. Anyone interested in Windows application development with Node.js can take a look!
Ideally, the solution would be as easy/clear to follow as the MacOS/Linux solution:
- The user clones the repo, inserts the
.env, runsnpm iandnpm linkand the tool is set up.
However, the solution does not have to be exactly the same. It should just be easy.
Perhaps the solution could be to download and run an executable to run the commands? Or to alias the call to the executable. Im not sure, I have never worked on Windows before.
There are also other ways of thinking about this issue, outside of building code within the repository. We can look externally for cross-compatibility. For example,
- Having this script as a package on Node.js might free up script restrictions (though, not entirely sure).
- Running this CLI tool through a Docker-container (although this might be tough since the cli works in your local file directory).
- I have no more ideas
https://stackoverflow.com/questions/4037939/powershell-says-execution-of-scripts-is-disabled-on-this-system
https://stackoverflow.com/questions/46847654/how-to-convert-node-js-command-line-app-to-single-executable