question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Facing issues on Angular 7

See original GitHub issue

I am using Angular 7.2.0 and I am getting the following error.

WARNING in ./node_modules/ngx-intl-tel-input/fesm5/ngx-intl-tel-input.js 21:64-82 "export 'ɵɵdefineInjectable' was not found in '@angular/core'

Pasting my package.json file below.

{
  "name": "test-site",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "~7.2.0",
    "@angular/common": "~7.2.0",
    "@angular/compiler": "~7.2.0",
    "@angular/core": "~7.2.0",
    "@angular/forms": "~7.2.0",
    "@angular/platform-browser": "~7.2.0",
    "@angular/platform-browser-dynamic": "~7.2.0",
    "@angular/router": "~7.2.0",
    "@ng-select/ng-select": "^2.19.0",
    "bootstrap": "^4.3.1",
    "core-js": "^2.5.4",
    "rxjs": "~6.3.3",
    "tslib": "^1.9.0",
    "zone.js": "~0.8.26",
    "google-libphonenumber": "3.2.2",
    "intl-tel-input": "^14.0.6",
    "jquery": "1.9.1 - 3",
    "ngx-bootstrap": "3.2.0",
    "ngx-intl-tel-input": "^2.2.1"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "^0.13.0",
    "@angular/cli": "~7.3.8",
    "@angular/compiler-cli": "~7.2.0",
    "@angular/language-service": "~7.2.0",
    "@types/jasmine": "~2.8.8",
    "@types/jasminewd2": "~2.0.3",
    "@types/node": "~8.9.4",
    "codelyzer": "~4.5.0",
    "jasmine-core": "~2.99.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~4.0.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "~2.0.1",
    "karma-jasmine": "~1.1.2",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.4.0",
    "ts-node": "~7.0.0",
    "tslint": "~5.11.0",
    "typescript": "~3.2.2"
  }
}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:19

github_iconTop GitHub Comments

3reactions
RobertJGabrielcommented, Aug 25, 2019

@pasevin Any update on when this is installable though npm?

1reaction
AliaksandrBortnikcommented, Sep 11, 2019

npm uninstall ngx-intl-tel-input --save npm install ngx-intl-tel-input@2.2.1 --save

To downgrade to the version that is for Angular 7.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Issues I Faced When Upgrading The Angular Versions
Some versions of Angular might not work with latest version of typescript. You will need to downgrade typescript version in that case. Also...
Read more >
Upgrade from angular 7 to angular 8 or 10 causing issues
I found that after the upgrade, a bunch of declarations in the node modules that are generated from this are not declared, AppExclusionType ......
Read more >
8 Mistakes I've Seen Angular Developers Doing
8 Most Common Mistakes I've Seen New Angular Developers Doing · 1. Forget to Unsubscribe · 2. Not Using OnPush Change Detection ·...
Read more >
Identify and Fix Build and Deployment Errors in Your ...
In this guide, you will learn how to spot some of the most common build and deployment errors and how to resolve them...
Read more >
AngularJS to Angular concepts: Quick reference
Angular does not have a bootstrap directive. To launch the application in code, explicitly bootstrap the root module ( AppModule ) of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found