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.

Angular Universal (SSR) and Ckeditor 4 error

See original GitHub issue

Hi, 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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:17

github_iconTop GitHub Comments

1reaction
cmddavidcommented, Jun 5, 2018

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.

0reactions
kzimnycommented, Jul 3, 2019

Nobody wants to investigate and solve the SSR problem. PR’s are welcome, the issue can be open again in case someone really wants.

Read more comments on GitHub >

github_iconTop 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 >

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