angular-editor icon indicating copy to clipboard operation
angular-editor copied to clipboard

Angular 11 core.d.ts Error

Open grahamroy opened this issue 4 years ago • 0 comments

When I create a new Angular 11 app and install this angular-editor I get an error that:

ERROR in ../node_modules/@angular/core/core.d.ts(264,63): error TS1005: '>' expected. ../node_modules/@angular/core/core.d.ts(264,90): error TS1005: '(' expected. ../node_modules/@angular/core/core.d.ts(264,109): error TS1005: '(' expected. ../node_modules/@angular/core/core.d.ts(264,115): error TS1109: Expression expected. ../node_modules/@angular/core/core.d.ts(264,117): error TS1011: An element access expression should take an argument.
../node_modules/@angular/core/core.d.ts(264,119): error TS1109: Expression expected. ../node_modules/@angular/forms/forms.d.ts(2896,65): error TS1005: '>' expected. ../node_modules/@angular/forms/forms.d.ts(2896,85): error TS1005: ',' expected. ../node_modules/@angular/forms/forms.d.ts(2896,87): error TS1005: ',' expected. ../node_modules/@angular/forms/forms.d.ts(2896,88): error TS1109: Expression expected.

Here's a copy of my package.json

{ "name": "angular", "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", "core-js": "^2.5.4", "rxjs": "~6.3.3", "tslib": "^1.9.0", "zone.js": "~0.8.26" }, "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/node": "~8.9.4", "@types/jasmine": "~2.8.8", "@types/jasminewd2": "~2.0.3", "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" } }

Here's are my versions:

PS D:\Projects\Angular\wysiwygEditor> ng version

 _                      _                 ____ _     ___
/ \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|

/ △ \ | '_ \ / | | | | |/ _ | '__| | | | | | | / ___ | | | | (| | || | | (| | | | || | | | // __| ||_, |_,||_,|| _||| |___/

Angular CLI: 7.3.8 Node: 15.2.0 OS: win32 x64 Angular: 12.2.15 ... common, core, forms, platform-browser

Package Version

@angular-devkit/architect 0.13.8 (cli-only) @angular-devkit/core 7.3.8 (cli-only) @angular-devkit/schematics 7.3.8 (cli-only) @schematics/angular 7.3.8 (cli-only) @schematics/update 0.13.8 (cli-only) rxjs 6.6.7

grahamroy avatar Dec 24 '21 11:12 grahamroy