Facing issues on Angular 7
See original GitHub issueI 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:
- Created 4 years ago
- Reactions:3
- Comments:19
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@pasevin Any update on when this is installable though npm?
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.