Skip to content

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

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
elvisbegovic opened this issue Apr 3, 2019 · 1 comment
Closed
Assignees
Labels
area: bazel Issues related to the published `@angular/bazel` build rules freq1: low regression Indicates than the issue relates to something that worked in a previous version
Milestone

Comments

@elvisbegovic
Copy link
Contributor

🐞 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

@alan-agius4 alan-agius4 added the area: bazel Issues related to the published `@angular/bazel` build rules label Apr 3, 2019
@ngbot ngbot bot added this to the needsTriage milestone Apr 3, 2019
@alan-agius4 alan-agius4 self-assigned this Apr 3, 2019
@alan-agius4 alan-agius4 added freq1: low severity3: broken regression Indicates than the issue relates to something that worked in a previous version and removed severity3: broken labels Apr 3, 2019
DeveloperFromUkraine pushed a commit to DeveloperFromUkraine/angular that referenced this issue Apr 11, 2019
…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 pushed a commit to wKoza/angular that referenced this issue Apr 17, 2019
…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
@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 Sep 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: bazel Issues related to the published `@angular/bazel` build rules freq1: low regression Indicates than the issue relates to something that worked in a previous version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants