Fails to find /bin/env
Running `@e18e/setup-publish` fails on my machine running macOS 26.2 (Tahoe):
```
❯ npx @e18e/setup-publish
Need to install the following packages:
@e18e/setup-publish@0.0.9
Ok to proceed? (y) y
sh: /Users/simon/.npm/_npx/2b7dcda82c837db7/node_modules/.bin/setup-publish: /bin/env: bad interpreter: No such file or directory
```
While there is no truly standard location for this, I believe it is much more command for this utility to exist only as `/usr/bin/env` than it is for it to exist only as `/bin/env`. For reference, see for example [here](https://stackoverflow.com/a/55706736/1132101). This is also what the [e18e cli](https://github.com/e18e/cli/blob/main/cli.js) does.
0 条评论