tinymce / tinymce-angular

Official TinyMCE Angular Component
MIT License
330 stars 92 forks source link

ERROR in No suitable injection token for parameter 'elementRef' of class 'EditorComponent' #166

Closed MaliahRajan closed 3 years ago

MaliahRajan commented 4 years ago

local CL version (8.3.26)

0% compiling Compiling @tinymce/tinymce-angular : es2015 as esm2015 [ "@tinymce/tinymce-angular": "^3.6.0" ]

ERROR in No suitable injection token for parameter 'elementRef' of class 'EditorComponent' no type or decorator.

Configuration & Dependencies : { "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": "^8.2.14", "@angular/common": "^8.2.14", "@angular/compiler": "^8.2.14", "@angular/core": "^8.2.14", "@angular/forms": "^8.2.14", "@angular/platform-browser": "^8.2.14", "@angular/platform-browser-dynamic": "^8.2.14", "@angular/pwa": "^0.803.26", "@angular/router": "^8.2.14", "@angular/service-worker": "^8.2.14", "@kolkov/angular-editor": "^1.1.2", "@ngx-formly/core": "^5.0.0", "@tinymce/tinymce-angular": "^3.6.0", "@types/c3": "^0.7.4", "feather-icons": "^4.28.0", "file-saver": "^2.0.2", "ng2-search-filter": "^0.5.1", "ngx-csv": "^0.3.2", "ngx-order-pipe": "^2.0.4", "ngx-pagination": "^5.0.0", "rxjs": "~6.4.0", "tslib": "^1.11.1", "xlsx": "^0.15.6", "zone.js": "~0.9.1" }, "devDependencies": { "@angular-devkit/build-angular": "^0.803.26", "@angular/cli": "^8.3.26", "@angular/compiler-cli": "^8.2.14", "@angular/language-service": "^8.2.14", "@types/file-saver": "^2.0.1", "@types/jasmine": "~3.3.8", "@types/jasminewd2": "~2.0.3", "@types/node": "~8.9.4", "codelyzer": "^5.2.2", "jasmine-core": "~3.4.0", "jasmine-spec-reporter": "~4.2.1", "karma": "~4.1.0", "karma-chrome-launcher": "~2.2.0", "karma-coverage-istanbul-reporter": "~2.0.1", "karma-jasmine": "~2.0.1", "karma-jasmine-html-reporter": "^1.5.3", "protractor": "^5.4.3", "ts-node": "~7.0.0", "tslint": "~5.15.0", "typescript": "~3.5.3" } }

tinydylan commented 4 years ago

Hi - are you able to please provide a simple replication case demonstrating the issue? e.g. a github project and set of commands to run, or an example in codesandbox.io or similar? This will help us ensure we're looking at exactly the same problem that you are.

Thanks!

jscasca commented 3 years ago

closing due to lack of activity