Skip to content

updating to angular v6 rc 3 yields "The import is blacklisted" error #10259

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
johnpapa opened this issue Apr 9, 2018 · 1 comment
Closed

Comments

@johnpapa
Copy link
Contributor

johnpapa commented Apr 9, 2018

Versions

Angular CLI: 6.0.0-rc.2
Node: 8.11.1
OS: darwin x64
Angular: 6.0.0-rc.3
... animations, common, compiler, compiler-cli, core, forms
... http, platform-browser, platform-browser-dynamic
... platform-server, router

@angular/cli: 6.0.0-rc.2
@angular/language-service: 5.2.9
@angular-devkit/architect: 0.5.4
@angular-devkit/build-angular: 0.5.4
@angular-devkit/build-optimizer: 0.5.4
@angular-devkit/core: 0.5.4
@angular-devkit/schematics: 0.5.4
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 6.0.0-rc.2.4
@schematics/angular: 0.5.4
@schematics/update: 0.5.4
typescript: 2.7.2
webpack-bundle-analyzer: 2.11.1
webpack-visualizer-plugin: 0.1.11
webpack: 4.5.0

Repro steps

  • Update to angular v6 rc 3
  • run ng update

Observed behavior

the tslint file, among others, are updated as expected. However when running ng build I see errors for

The import is blacklisted, import a submodule instead

So I modified the import-blacklist entry from this

"import-blacklist": [
  true,
  "rxjs"
]

to

"import-blacklist": [
  true,
  "rxjs/Rx"
]

Desired behavior

Would be helpful if the ng update command made this change to the tslint.json for us.

cc @filipesilva

@Brocco Brocco self-assigned this Apr 10, 2018
Brocco added a commit to Brocco/devkit that referenced this issue Apr 10, 2018
hansl pushed a commit that referenced this issue Jun 6, 2018
@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 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants