FS#54065 - [yarn] permission issue
Attached to Project:
Community Packages
Opened by Far Wayer (farwayer) - Monday, 15 May 2017, 16:35 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 16 May 2017, 14:00 GMT
Opened by Far Wayer (farwayer) - Monday, 15 May 2017, 16:35 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 16 May 2017, 14:00 GMT
|
Details
`zsh: permission denied: yarn`
Additional info: * yarn 0.24.3-1 |
This task depends upon
/usr/bin/yarn is linking to /usr/lib/node-modules/yarn/bin/yarn.js, which does not have execute permission. I'm not sure if the problem is that yarn.js should have execute permission or if /usr/bin/yarn should actually be linking to /usr/lib/node-modules/yarn/bin/yarn, which is a shell script that does have execute permissions enabled for all.
Fixed with `sudo chmod +x /usr/lib/node_modules/yarn/bin/yarn.js`