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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

`Property e2e does not exist in JSON object` after `ng add @angular/bazel` #29680

Closed
istiti opened this issue Apr 3, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@istiti
Copy link

commented Apr 3, 2019

馃悶 bug report

Is this a regression?

no

Description

Cannot add @angular/bazel@next on project without tests framework --minimal

馃敩 Minimal Reproduction

new ap --minimal --defaults && cd ap && ng add @angular/bazel@next --name ap

馃敟 Exception or Error

Property e2e does not exist in JSON object without stracktrace

馃實 Your Environment

Angular Version:


Angular CLI: 8.0.0-beta.10
Node: 11.12.0
OS: win32 x64
Angular: 8.0.0-beta.10
... animations, bazel, cli, common, compiler, compiler-cli, core
... forms, language-service, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.800.0-beta.10
@angular-devkit/build-angular     0.800.0-beta.10
@angular-devkit/build-optimizer   0.800.0-beta.10
@angular-devkit/build-webpack     0.800.0-beta.10
@angular-devkit/core              8.0.0-beta.10
@angular-devkit/schematics        8.0.0-beta.10
@ngtools/webpack                  8.0.0-beta.10
@schematics/angular               8.0.0-beta.10
@schematics/update                0.800.0-beta.10
rxjs                              6.4.0
typescript                        3.3.4000
webpack                           4.29.6

Anything else relevant?
When adding in angular.json to projects object "ap-e2e": { "root": "e2e/","projectType": "application"} it is ok

@ngbot ngbot bot added this to the needsTriage milestone Apr 3, 2019

@alan-agius4 alan-agius4 self-assigned this Apr 3, 2019

alan-agius4 added a commit to alan-agius4/angular that referenced this issue Apr 3, 2019

fix(bazel): support running ng-add on minimal applications
Minimal applications don't have `test` and `e2e` targets but we are not currently checking if they exists.

Fixes angular#29680

alan-agius4 added a commit to alan-agius4/angular that referenced this issue Apr 3, 2019

fix(bazel): support running ng-add on minimal applications
Minimal applications don't have `test` and `e2e` targets but we are not currently checking if they exists.

Fixes angular#29680

alan-agius4 added a commit to alan-agius4/angular that referenced this issue Apr 3, 2019

fix(bazel): support running ng-add on minimal applications
Minimal applications don't have `test` and `e2e` targets but we are not currently checking if they exists.

Fixes angular#29680

@jasonaden jasonaden closed this in 9810c6c Apr 3, 2019

DeveloperFromUkraine added a commit to DeveloperFromUkraine/angular that referenced this issue Apr 11, 2019

fix(bazel): support running ng-add on minimal applications (angular#2鈥
鈥9681)

Minimal applications don't have `test` and `e2e` targets but we are not currently checking if they exists.

Fixes angular#29680

PR Close angular#29681

wKoza added a commit to wKoza/angular that referenced this issue Apr 17, 2019

fix(bazel): support running ng-add on minimal applications (angular#2鈥
鈥9681)

Minimal applications don't have `test` and `e2e` targets but we are not currently checking if they exists.

Fixes angular#29680

PR Close angular#29681
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can鈥檛 perform that action at this time.