jakiestfu / stability-ts

DreamStudio Client written in TypeScript
156 stars 33 forks source link

yarn build breaks on windows #2

Closed brian-gates closed 1 year ago

brian-gates commented 1 year ago
E:\code\stability-ts>yarn build
yarn run v1.22.4
$ yarn clean
$ rimraf .build
$ ttsc -p ./tsconfig.json
$ chmod +x .build/bin.js
'chmod' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
brian-gates commented 1 year ago

https://github.com/jakiestfu/stability-ts/blob/e1e12a2b166830fd7a4c852c9dd1dbcc9cc7ba57/package.json#L10

brian-gates commented 1 year ago

https://stackoverflow.com/a/40979016/786729

https://git-scm.com/docs/git-update-index#Documentation/git-update-index.txt---chmod-x

jakiestfu commented 1 year ago

Actually, the WebPack SheBang plugin should be updating the permissions of the bin file automatically. Will remove this line for now.