Angular Universal (SSR) and Ckeditor 4 error
See original GitHub issueHi, I used angular universal for server-side rendering and ng2-ckeditor. when I want to be compress and webpack ng2-ckeditor the belove error show:
CKEditor 4.x is missing (http://ckeditor.com/)
how can I resolve this problem? I must be used ng2-ckeditor !!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:17
Top Results From Across the Web
Angular Universal (SSR) and Ckeditor 4 error #572 - GitHub
This problem is possible because some modules do not check if they're running on browser or server, it's not a rare case that...
Read more >Angular Universal (SSR) and Ckeditor 4 error - Stack Overflow
I used angular universal for SSR my web app. inside some component I used ng2-ckeditor. when I compile webpack and build server.js file...
Read more >Angular Universal (SSR) and Ckeditor 4 error - Bountysource
Hi, I used angular universal for server-side rendering and ng2-ckeditor. when I want to be compress and webpack ng2-ckeditor the belove ...
Read more >Error Code Reference - CKEditor 4 Documentation
This article contains the list of CKEditor 4 error codes and their explanations. The error codes are used by the editor to log...
Read more >CORS error on HTTP calls in angular-universal (server side)
I'd say either configure your api server to allow access to the node js server with your custom mechanism, or don't check 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
It is working fine when the package has been built, the problem comes when it has not been build yet. For development purposes, I don’t want to manually build the child module every time I have made a change. So I added the following to the main module as dependency to the package.json:
"ng2-ckeditor": "file:../ng2-ckeditor"
. This however is giving me the following error:ERROR in ../ng2-ckeditor/ng2-ckeditor.ts Module build failed: Error: /Users/xxx/Documents/projects/personal/ng2-ckeditor/ng2-ckeditor.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
Which I’m able to solve by adding the ng2-ckeditor file to the include property in the tsconfig, but then I get this error on serve / build:
ERROR in No NgModule metadata found for 'AppModule'.
Any pointers would be appreciated, this is the first time I try to contribute to a project that doesn’t work stand alone. So maybe I’m missing something obvious here.
Nobody wants to investigate and solve the SSR problem. PR’s are welcome, the issue can be open again in case someone really wants.