Open brijendraAON opened 1 month ago
This error message is not related to CKEditor but to the Aurelia itself
Failed to load resource: the server responded with a status of 404 (Not Found) src/aurelia-bootstrapper.js
Refused to execute script from src/aurelia-bootstrapper.js because its MIME type ('') is not executable, and strict MIME type checking is enabled.
Looks like your asset is not available (404).
I able to implement ckeditor5 without premium feature but after installation of premium feature it is showing above error.
Reproduction steps
installed npm install ckeditor5 and npm install ckeditor5-premium-features
Addded
Imported import { ClassicEditor, AccessibilityHelp, Autosave, Bold, CloudServices, Essentials, Italic, Paragraph, SelectAll, Undo } from 'ckeditor5'; import { ImportWord } from 'ckeditor5-premium-features';
import 'ckeditor5/ckeditor5.css'; import 'ckeditor5-premium-features/ckeditor5-premium-features.css';
toolbar: { items: ['undo', 'redo', '|', 'importWord', 'selectAll', '|', 'bold', 'italic', '|', 'accessibilityHelp'], shouldNotGroupWhenFull: false }, plugins: [AccessibilityHelp, Autosave, Bold, CloudServices, Essentials, ImportWord, Italic, Paragraph, SelectAll, Undo] };
ClassicEditor.create(document.querySelector('#editor'), editorConfig);
Current behavior
Failed to load resource: the server responded with a status of 404 (Not Found) src/aurelia-bootstrapper.js
Refused to execute script from src/aurelia-bootstrapper.js because its MIME type ('') is not executable, and strict MIME type checking is enabled.
Uncaught Error: Script error for "aurelia-bootstrapper" https://requirejs.org/docs/errors.html#scripterror at makeError (require.js:168:1) at HTMLScriptElement.onScriptError (require.js:1738:1)
Expected behavior
Should show ckeditor5 on page
Definition of Done
Relevant debug data
Other details
Uncaught Error: Script error for "aurelia-bootstrapper" https://requirejs.org/docs/errors.html#scripterror at makeError (require.js:168:1) at HTMLScriptElement.onScriptError (require.js:1738:1)
User agent
chrome