Skip to content
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

requires global install of yarn #26

Open
ukuhnhardt opened this issue Apr 27, 2018 · 1 comment
Open

requires global install of yarn #26

ukuhnhardt opened this issue Apr 27, 2018 · 1 comment

Comments

@ukuhnhardt
Copy link

this module should not depend on a global install of yarn

$ ./node_modules/.bin/gulp --gulpfile gulpfile-yarn.js yarn
events.js:167
      throw er; // Unhandled 'error' event
      ^

Error: Can't yarn! `yarn` doesn't seem to be installed.
    at /Users/ulrichk/github-ui/self-service-ui/node_modules/gulp-yarn/lib/utils/commandRunner.js:24:13
    at F (/Users/ulrichk/github-ui/self-service-ui/node_modules/which/which.js:68:16)
    at E (/Users/ulrichk/github-ui/self-service-ui/node_modules/which/which.js:80:29)
    at /Users/ulrichk/github-ui/self-service-ui/node_modules/which/which.js:89:16
    at /Users/ulrichk/github-ui/self-service-ui/node_modules/isexe/index.js:42:5
    at /Users/ulrichk/github-ui/self-service-ui/node_modules/isexe/mode.js:8:5
    at FSReqWrap.oncomplete (fs.js:149:21)
Emitted 'error' event at:
    at DestroyableTransform.onerror (/Users/ulrichk/github-ui/self-service-ui/node_modules/gulp/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:558:12)
    at DestroyableTransform.emit (events.js:182:13)
    at onwriteError (/Users/ulrichk/github-ui/self-service-ui/node_modules/readable-stream/lib/_stream_writable.js:449:12)
    at onwrite (/Users/ulrichk/github-ui/self-service-ui/node_modules/readable-stream/lib/_stream_writable.js:470:11)
    at WritableState.onwrite (/Users/ulrichk/github-ui/self-service-ui/node_modules/readable-stream/lib/_stream_writable.js:180:5)
    at DestroyableTransform.afterTransform (/Users/ulrichk/github-ui/self-service-ui/node_modules/readable-stream/lib/_stream_transform.js:93:3)
    at /Users/ulrichk/github-ui/self-service-ui/node_modules/gulp-yarn/lib/index.js:72:32
    at /Users/ulrichk/github-ui/self-service-ui/node_modules/gulp-yarn/lib/utils/commandRunner.js:24:4
    at F (/Users/ulrichk/github-ui/self-service-ui/node_modules/which/which.js:68:16)
    at E (/Users/ulrichk/github-ui/self-service-ui/node_modules/which/which.js:80:29)
@warapitiya
Copy link
Owner

Hi @ukuhnhardt: To open the discussion, I believe this must have a configuration logic to get "What version of Yarn needed" and also a sandbox yarn to install dependencies. I like to know how other devs think about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants