By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Describe the bug
yarn v1 is having trouble running pnpify - looks like .bin/pnpify is missing the node shebang at the top of the file. I think that this is a regression back to #258

To Reproduce
yarn add @yarnpkg/pnpify
yarn pnpify tsc

(truncated) Output:

line 1: use strict: command not found
line 2: syntax error near unexpected token '('
line 2: `var __importDefault = (this && this.__importDefault) || function (mod) {'

Additional context
My best guess from the outside is that the pragma at the top of lib/bin.js was removed in #328 and wasn't re-added.

Thank you!