-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
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
Yarn Install does not work #1
Comments
I just checked and phantomjs-prebuilt seems to work with both npm and yarn – |
Interesting. Their installer seems to place the binary within In my case, I want the binary to be directly placed under I need to dig deeper into Yarn to figure out how they handle |
Yeah, they just use a more standard method of distributing npm binaries, using the https://github.com/Medium/phantomjs/blob/master/package.json#L34-L36 Which links to a shim that executes the "real" binary: https://github.com/Medium/phantomjs/blob/master/bin/phantomjs |
The problem with For best compatibility, I should probably follow phantomjs' approach - Have a JS shim placed under Need a bit more digging to find the right middleground |
See aws/aws-sam-cli#87. Need to detect if the installation is coming from Yarn and find the binary path without using
npm bin
The text was updated successfully, but these errors were encountered: