-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Parse error from 2.27.0 up #2478
Comments
I have the same issue! |
I think, your |
I have the same issue! |
try to add this to webpack config |
If you are using Nuxt 2:
|
Bro, where to put this line exactly |
If after this you receive the "Element not defined" error, try importing editorJS in the mounted() lifecycle: mounted() {
import('@editorjs/editorjs').then(module => {
const EditorJS = module.default;
this.editor = new EditorJS({
holder: 'editor'
});
}).catch(err => {
console.error('Failed to load module:', err);
});
} |
Hello,
I have been trying to add Editorjs to my Webpack 4 project, but unfortunately it does work only up to version 2.26.5.
As soon as I upgrade to 2.27.0 and up I get the following error (this one is obtained running @editorjs/[email protected])
Is there some incompatibility with my toolchain? How can I help fix/debug this?
Thanks.
The text was updated successfully, but these errors were encountered: