Skip to content

9.0.0 rc0,1 getting error spawnSync yarn ENOENT #16115

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

Closed
keatkeat87 opened this issue Nov 8, 2019 · 2 comments
Closed

9.0.0 rc0,1 getting error spawnSync yarn ENOENT #16115

keatkeat87 opened this issue Nov 8, 2019 · 2 comments
Labels
area: @angular/cli freq1: low Only reported by a handful of users who observe it rarely severity5: regression type: bug/fix
Milestone

Comments

@keatkeat87
Copy link

keatkeat87 commented Nov 8, 2019

command
ng add @angular/material
ng add @angular/pwa

error details
[error] Error: spawnSync yarn ENOENT
Package install failed, see above.
at Object.installPackage (C:\keatkeat\projects\testd\node_modules@angular\cli\tasks\install-package.js:39:15)
at AddCommand.run (C:\keatkeat\projects\testd\node_modules@angular\cli\commands\add-impl.js:141:31)
at async AddCommand.validateAndRun (C:\keatkeat\projects\testd\node_modules@angular\cli\models\command.js:134:28)
at async Object.runCommand (C:\keatkeat\projects\testd\node_modules@angular\cli\models\command-runner.js:201:24)
at async default_1 (C:\keatkeat\projects\testd\node_modules@angular\cli\lib\cli\index.js:54:31)

work perfect when I try version 8.3.18.

Can you please provide the output of ng version

Angular CLI: 9.0.0-rc.1
Node: 12.3.1
OS: win32 x64
Angular:
...

Package Version

@angular-devkit/architect 0.900.0-rc.1
@angular-devkit/core 9.0.0-rc.1
@angular-devkit/schematics 9.0.0-rc.1
@schematics/angular 9.0.0-rc.1
@schematics/update 0.900.0-rc.1
rxjs 6.5.3

@alan-agius4
Copy link
Collaborator

Should be fixed by #16112

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: @angular/cli freq1: low Only reported by a handful of users who observe it rarely severity5: regression type: bug/fix
Projects
None yet
Development

No branches or pull requests

3 participants