Skip to content

🐛 [BUG] - chmod fails in powershell - graceful error handling? #10

@subashc2023

Description

@subashc2023

Description

? Do you want to setup a pre-commit hook for health checks? Yes
warning: in the working copy of '.makerkitrc', LF will be replaced by CRLF the next time Git touches it
Setting upstream remote to https://github.com/makerkit/next-supabase-saas-kit-turbo
...

scripts@0.1.0 license C:\workspace\projects\TinyClient\frontend\tooling\scripts
node ./src/license.mjs

"#!/bin/bash
'chmod' is not recognized as an internal or external command,
operable program or batch file.
Pre-commit hook setup failed. Aborting package generation.

Reproduction steps

1. Try running the setup on Windows
2) set yes for precommit healthcheck hook
3 - it tries to run the bash script and fails because it is running chmod on powershell

Logs

Screenshots

![DESCRIPTION](LINK.png)

Browsers

No response

OS

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions