Skip to content
New issue

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

error on start #1

Open
Sadbot opened this issue Dec 19, 2022 · 1 comment
Open

error on start #1

Sadbot opened this issue Dec 19, 2022 · 1 comment

Comments

@Sadbot
Copy link

Sadbot commented Dec 19, 2022

When I start webserver with npm start then error:

Editor.js 2.26.4 I'm ready! (ノ◕ヮ◕)ノ*:・゚✧ Unhandled promise rejection TypeError: window.matchMedia is not a function at Object.e.isMobileScreen (https://cdn.jsdelivr.net/npm/@editorjs/editorjs@latest:8:7846) at n.value (https://cdn.jsdelivr.net/npm/@editorjs/editorjs@latest:8:117977) at n.value (https://cdn.jsdelivr.net/npm/@editorjs/editorjs@latest:8:114367) at u.<anonymous> (https://cdn.jsdelivr.net/npm/@editorjs/editorjs@latest:8:242078) at p (https://cdn.jsdelivr.net/npm/@editorjs/editorjs@latest:8:356645) at Generator.<anonymous> (https://cdn.jsdelivr.net/npm/@editorjs/editorjs@latest:8:357982) at Generator.next (https://cdn.jsdelivr.net/npm/@editorjs/editorjs@latest:8:357008) at n (https://cdn.jsdelivr.net/npm/@editorjs/editorjs@latest:8:21224) at s (https://cdn.jsdelivr.net/npm/@editorjs/editorjs@latest:8:21435) at https://cdn.jsdelivr.net/npm/@editorjs/editorjs@latest:8:21494 Block «paragraph» skipped because of plugins error {}

My
npm -v 6.14.15

node -v v14.18.1

@robinhalet
Copy link

robinhalet commented Dec 28, 2022

You can update the version of EditorJS with 2.19.1 to fix the error :
<script src="https://cdn.jsdelivr.net/npm/@editorjs/[email protected]/dist/editor.min.js"></script>

The script seems actually not working with the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants