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

bug: "yarn run" command quoting is broken on windows #3940

Closed
Spongman opened this issue Jul 16, 2017 · 2 comments
Closed

bug: "yarn run" command quoting is broken on windows #3940

Spongman opened this issue Jul 16, 2017 · 2 comments

Comments

@Spongman
Copy link

Spongman commented Jul 16, 2017

> ver
Microsoft Windows [Version 10.0.15063]
> node --version
v8.1.2
> yarn init -y
> yarn add gulp
> yarn run gulp
yarn run v0.27.5
$ "C:\temp\q\node_modules\.bin\gulp"
[23:33:40] No gulpfile found
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
> yarn run gulp watch
yarn run v0.27.5
$ "C:\temp\q\node_modules\.bin\gulp" "watch"
'C:\temp\q\node_modules\.bin\gulp" "watch' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
>yarn run gulp -- watch
yarn run v0.27.5
$ "C:\temp\q\node_modules\.bin\gulp" "watch"
'C:\temp\q\node_modules\.bin\gulp" "watch' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

the 1st error is expected -- gulp can't find its file.
the 2nd & 3rd are a failure to execute gulp.

@Volune
Copy link
Contributor

Volune commented Jul 16, 2017

Looks like duplicate of #3773

@Volune Volune marked this as a duplicate of #3773 Jul 16, 2017
@arcanis
Copy link
Member

arcanis commented Jul 17, 2017

Closing in favor of #3773

@arcanis arcanis closed this as completed Jul 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants