Skip to content

@schematics/update test failed on last release #11387

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
fmoutawe opened this issue Jun 27, 2018 · 4 comments
Closed

@schematics/update test failed on last release #11387

fmoutawe opened this issue Jun 27, 2018 · 4 comments

Comments

@fmoutawe
Copy link

fmoutawe commented Jun 27, 2018

Bug Report or Feature Request (mark with an x)

- [ x ] bug report
- [ ] feature request

Area

- [ ] devkit
- [ x ] schematics

Versions

angular-cli: tag v6.1.0-rc.0
node : v8.11.2
npm : 6.1.0
macOS High Sierra (10.13.3)

Repro steps

  • clone angular/angular-cli : git clone https://github.com/angular/angular-cli.git
  • checkout to v6.1.0-rc.0 : git checkout tags/v6.1.0-rc.0
  • run test : npm run test

The log given by the failure

Failures:
Failures:
Failures:

  1. @schematics/update updates Angular as compatible with Angular N-1
    Message:
    Failed: Incompatible peer dependencies found. See above.
    Stack:
    Error: Incompatible peer dependencies found. See above.
    at _validateUpdatePackages (\path\to\repo\angular-cli\packages\schematics\update\update\file:\path\to\repo\angular-cli\packages\schematics\update\update\index.ts:201:11)
    at SwitchMapSubscriber.rxjs_1.from.pipe.operators_1.switchMap.infoMap [as project] (\path\to\repo\angular-cli\packages\schematics\update\update\file:\path\to\repo\angular-cli\packages\schematics\update\update\index.ts:833:11)
    at SwitchMapSubscriber._next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\operators\switchMap.ts:103:21)
    at SwitchMapSubscriber.Subscriber.next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\Subscriber.ts:102:12)
    at MapSubscriber._next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\operators\map.ts:86:22)
    at MapSubscriber.Subscriber.next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\Subscriber.ts:102:12)
    at DefaultIfEmptySubscriber._next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\operators\defaultIfEmpty.ts:72:22)
    at DefaultIfEmptySubscriber.Subscriber.next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\Subscriber.ts:102:12)
    at TakeLastSubscriber._complete (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\operators\takeLast.ts:105:21)
    at TakeLastSubscriber.Subscriber.complete (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\Subscriber.ts:129:12)

  2. @schematics/update updates Angular as compatible with Angular N-1 (2)
    Message:
    Failed: Incompatible peer dependencies found. See above.
    Stack:
    Error: Incompatible peer dependencies found. See above.
    at _validateUpdatePackages (\path\to\repo\angular-cli\packages\schematics\update\update\file:\path\to\repo\angular-cli\packages\schematics\update\update\index.ts:201:11)
    at SwitchMapSubscriber.rxjs_1.from.pipe.operators_1.switchMap.infoMap [as project] (\path\to\repo\angular-cli\packages\schematics\update\update\file:\path\to\repo\angular-cli\packages\schematics\update\update\index.ts:833:11)
    at SwitchMapSubscriber._next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\operators\switchMap.ts:103:21)
    at SwitchMapSubscriber.Subscriber.next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\Subscriber.ts:102:12)
    at MapSubscriber._next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\operators\map.ts:86:22)
    at MapSubscriber.Subscriber.next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\Subscriber.ts:102:12)
    at DefaultIfEmptySubscriber._next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\operators\defaultIfEmpty.ts:72:22)
    at DefaultIfEmptySubscriber.Subscriber.next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\Subscriber.ts:102:12)
    at TakeLastSubscriber._complete (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\operators\takeLast.ts:105:21)
    at TakeLastSubscriber.Subscriber.complete (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\Subscriber.ts:129:12)

Desired functionality

I fork angular/angular-cli to bring some extra features, specific to my needs.

Mention any other details that might be useful

If you have any clue to fix this, I will put a pull request with pleasure.

@clydin
Copy link
Member

clydin commented Jun 28, 2018

The tests pass on CI. They do, however, assume a basic .npmrc file (i.e., no custom authentication, etc.).

@fmoutawe
Copy link
Author

I update the question with a fresh .npmrc.
I have these errors :

Failures:

  1. @schematics/update updates Angular as compatible with Angular N-1
    Message:
    Failed: Incompatible peer dependencies found. See above.
    Stack:
    Error: Incompatible peer dependencies found. See above.
    at _validateUpdatePackages (\path\to\repo\angular-cli\packages\schematics\update\update\file:\path\to\repo\angular-cli\packages\schematics\update\update\index.ts:201:11)
    at SwitchMapSubscriber.rxjs_1.from.pipe.operators_1.switchMap.infoMap [as project] (\path\to\repo\angular-cli\packages\schematics\update\update\file:\path\to\repo\angular-cli\packages\schematics\update\update\index.ts:833:11)
    at SwitchMapSubscriber._next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\operators\switchMap.ts:103:21)
    at SwitchMapSubscriber.Subscriber.next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\Subscriber.ts:102:12)
    at MapSubscriber._next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\operators\map.ts:86:22)
    at MapSubscriber.Subscriber.next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\Subscriber.ts:102:12)
    at DefaultIfEmptySubscriber._next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\operators\defaultIfEmpty.ts:72:22)
    at DefaultIfEmptySubscriber.Subscriber.next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\Subscriber.ts:102:12)
    at TakeLastSubscriber._complete (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\operators\takeLast.ts:105:21)
    at TakeLastSubscriber.Subscriber.complete (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\Subscriber.ts:129:12)

  2. @schematics/update updates Angular as compatible with Angular N-1 (2)
    Message:
    Failed: Incompatible peer dependencies found. See above.
    Stack:
    Error: Incompatible peer dependencies found. See above.
    at _validateUpdatePackages (\path\to\repo\angular-cli\packages\schematics\update\update\file:\path\to\repo\angular-cli\packages\schematics\update\update\index.ts:201:11)
    at SwitchMapSubscriber.rxjs_1.from.pipe.operators_1.switchMap.infoMap [as project] (\path\to\repo\angular-cli\packages\schematics\update\update\file:\path\to\repo\angular-cli\packages\schematics\update\update\index.ts:833:11)
    at SwitchMapSubscriber._next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\operators\switchMap.ts:103:21)
    at SwitchMapSubscriber.Subscriber.next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\Subscriber.ts:102:12)
    at MapSubscriber._next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\operators\map.ts:86:22)
    at MapSubscriber.Subscriber.next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\Subscriber.ts:102:12)
    at DefaultIfEmptySubscriber._next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\operators\defaultIfEmpty.ts:72:22)
    at DefaultIfEmptySubscriber.Subscriber.next (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\Subscriber.ts:102:12)
    at TakeLastSubscriber._complete (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\operators\takeLast.ts:105:21)
    at TakeLastSubscriber.Subscriber.complete (\path\to\repo\angular-cli\node_modules\rxjs\src\internal\Subscriber.ts:129:12)

@kyliau
Copy link
Contributor

kyliau commented May 27, 2020

Closing this, since issue is specific to CLI v6 and only pertains to tests on CI.

@kyliau kyliau closed this as completed May 27, 2020
@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 Jun 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants