I tried to run the CLI with npx @typoas/cli generate but it looks like it's trying to run the CLI as a shell script.
.npm/bin/cli: line 1: use strict: command not found
.npm/bin/cli: line 2: syntax error near unexpected token `exports,'
.npm/bin/cli: line 2: `Object.defineProperty(exports, "__esModule", { value: true });'
After manually adding a shebang like this it works:
#!/usr/bin/env node
Is this not the expected usage? Or maybe this is a yarn vs npm difference?
I tried to run the CLI with
npx @typoas/cli generate
but it looks like it's trying to run the CLI as a shell script.After manually adding a shebang like this it works:
Is this not the expected usage? Or maybe this is a yarn vs npm difference?