We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
So I needed the Clipboard plugin to use for CKEditor I've in my angular application.
I followed all the steps from here (https://ckeditor.com/docs/ckeditor5/latest/builds/guides/development/custom-builds.html) and created a custom build with Clipboard plugin for ckeditor5-build-decoupled-document
Finally I import this newly created build in my angular application as shown here (https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/angular.html)
import * as CKEditor from "assets/js/ckeditor/ckeditor"; /** build couple document of ckeditor */ public Editor: Object = CKEditor;
But now when I run the app using ng serve; I get this following error. I tried increasing --max-old-space-size but still nothing helps.
[email protected]:~/Documents/webapps/rhino$node --max-old-space-size=4096 node_modules/@angular/cli/bin/ng serve 15% building 43/44 modules 1 active ...bdulwahab/Documents/webapps/rhino/node_modules/sass-loader/dist/cjs.js??ref--13-3!/Users/abdulwahab/Documents/webapps/rhino/src/styles.scss <--- Last few GCs ---> [1461:0x106801e00] 339706 ms: Mark-sweep 4046.9 (4135.5) -> 4034.7 (4135.8) MB, 1656.3 / 0.1 ms (average mu = 0.322, current mu = 0.160) allocation failure scavenge might not succeed [1461:0x106801e00] 342182 ms: Mark-sweep 4034.7 (4135.8) -> 4034.7 (4135.8) MB, 2476.3 / 0.1 ms (average mu = 0.209, current mu = 0.000) allocation failure scavenge might not succeed <--- JS stacktrace ---> FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 1: 0x1012e4da5 node::Abort() (.cold.1) [/usr/local/bin/node] 2: 0x1000a6239 node::Abort() [/usr/local/bin/node] 3: 0x1000a639f node::OnFatalError(char const*, char const*) [/usr/local/bin/node] 4: 0x1001e9007 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node] 5: 0x1001e8fa3 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node] 6: 0x100397e95 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/bin/node] 7: 0x10039995a v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [/usr/local/bin/node] 8: 0x100395029 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/local/bin/node] 9: 0x1003928c1 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node] 10: 0x1003932d2 v8::internal::Heap::CollectAllAvailableGarbage(v8::internal::GarbageCollectionReason) [/usr/local/bin/node] 11: 0x1003a121e v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/local/bin/node] 12: 0x100369c5e v8::internal::FactoryBase<v8::internal::Factory>::NewRawTwoByteString(int, v8::internal::AllocationType) [/usr/local/bin/node] 13: 0x1005ff3a6 v8::internal::String::SlowFlatten(v8::internal::Isolate*, v8::internal::Handle<v8::internal::ConsString>, v8::internal::AllocationType) [/usr/local/bin/node] 14: 0x10071c689 v8::internal::Runtime_RegExpReplaceRT(int, unsigned long*, v8::internal::Isolate*) [/usr/local/bin/node] 15: 0x100a7a239 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit [/usr/local/bin/node] Abort trap: 6
Deleting and reinstalling node_modules also gives the same error.
I also checked the custom build CKEditor; it works fine on sample page without any error.
The text was updated successfully, but these errors were encountered:
Did you find how to solve this issue?
Sorry, something went wrong.
I tried also such commands, the application works, but it consumes a lot of ram, and always laggy. Please Let me know if you found a solution to this.
No branches or pull requests
So I needed the Clipboard plugin to use for CKEditor I've in my angular application.
I followed all the steps from here (https://ckeditor.com/docs/ckeditor5/latest/builds/guides/development/custom-builds.html) and created a custom build with Clipboard plugin for ckeditor5-build-decoupled-document
Finally I import this newly created build in my angular application as shown here (https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/angular.html)
But now when I run the app using ng serve; I get this following error. I tried increasing --max-old-space-size but still nothing helps.
Deleting and reinstalling node_modules also gives the same error.
I also checked the custom build CKEditor; it works fine on sample page without any error.
The text was updated successfully, but these errors were encountered: