-
Notifications
You must be signed in to change notification settings - Fork 12k
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
NodePackageInstallTask not triggered after app generation #12719
Comments
Are you experiencing any errors when running |
@alan-agius4, no the problem is not with When a workspace with Generating an app right after that will result with the app in the projects and with the new dev dependency That's all fine, however, since package manager was not triggered I was thinking that a package manager has to be triggered after the app generation the same way as it is when generating a library (as well |
Thanks, for the explanation. I now see the problem. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)Versions
node: v8.12.0
npm: 6.4.1
yarn: 1.10.1
Angular CLI:
@angular-devkit/architect 0.10.2
@angular-devkit/core 7.0.2
@angular-devkit/schematics 7.0.2
@angular/cli 7.0.2
@schematics/angular 7.0.2
@schematics/update 0.10.2
rxjs 6.3.3
typescript 3.1.3
Repro steps
Execute the following commands in the exact order:
ng new foo --create-application false --routing false --style css
cd foo
ng g app playground
ng serve
- FailureSimply running package manager of choice after will resolve the issue.
The log given by the failure
After
ng serve
is triggered Angular CLI correctly reports the following error:Could not find module "@angular-devkit/build-angular" from "/Relative/path/to/workspace".
Desired functionality
The same as with library schematic,
NodePackageInstallTask
should be executed as the last task.Probably
--skip-install
flag in the schema would equally make sense.The text was updated successfully, but these errors were encountered: