You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For me (v2.0.2) the CLI interface cannot be called directly:
β― npm install pg-formatter -g
β― pg-formatter --help
/opt/homebrew/bin/pg-formatter: line 1: use strict: command not found
/opt/homebrew/bin/pg-formatter: line 2: syntax error near unexpected token `('
/opt/homebrew/bin/pg-formatter: line 2: `var __importDefault = (this && this.__importDefault) || function (mod) {'
Same for installing this as devDependency and trying to call it via npx pg-formatter
Workaround for now is: β― node node_modules/.bin/pg-formatter
The dist file is missing: #!/usr/bin/env node at the top
The text was updated successfully, but these errors were encountered:
Hey. Handy wrapper π.
For me (v2.0.2) the CLI interface cannot be called directly:
Same for installing this as devDependency and trying to call it via
npx pg-formatter
Workaround for now is:
β― node node_modules/.bin/pg-formatter
The dist file is missing:
#!/usr/bin/env node
at the topThe text was updated successfully, but these errors were encountered: