ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

Failed to resolve module specifier started with ampersand

Open vbulash opened this issue 3 years ago • 1 comments

  1. Install CKEditor5:

npm install --save @ckeditor/ckeditor5-build-decoupled-document

  1. Then install CKFinder:

npm install --save @ckeditor/ckeditor5-ckfinder

  1. Try to import CKFinder into script as recommended:
<script type="module">
		import CKFinder from "@ckeditor/ckeditor5-ckfinder/src/ckfinder";

		DecoupledDocumentEditor
			.create(document.querySelector('.editor'), {...

Expects - normal import because it's used as written in CKFinder documentation. Actual - it produces error in browser console:

Uncaught TypeError: Failed to resolve module specifier "@ckeditor/ckeditor5-ckfinder/src/ckfinder". Relative references must start with either "/", "./", or "../".

What's wrong?

vbulash avatar Jan 09 '22 08:01 vbulash

No reaction ((((

vbulash avatar Aug 10 '22 09:08 vbulash

There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

CKEditorBot avatar Sep 29 '23 05:09 CKEditorBot

We've closed your issue due to inactivity over the last year. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it).

CKEditorBot avatar Oct 30 '23 05:10 CKEditorBot