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

UnhandledPromiseRejectionWarning: ReferenceError: Element is not defined #13

Open
rares-lupascu opened this issue Jun 21, 2019 · 0 comments

Comments

@rares-lupascu
Copy link

just updaded and i cannot get the server to start anymore ... did not manage to fix the error below

"froala-editor": "^3.0.0",
"wysiwyg-editor-node-sdk": "^3.0.0-beta.1",

var FroalaEditor = require("wysiwyg-editor-node-sdk/lib/froalaEditor.js");

(node:5539) UnhandledPromiseRejectionWarning: ReferenceError: Element is not defined
    at /node_modules/froala-editor/js/froala_editor.min.js:7:414
    at /node_modules/froala-editor/js/froala_editor.min.js:7:84
    at Object.<anonymous> (/node_modules/froala-editor/js/froala_editor.min.js:7:155)
    at Module._compile (internal/modules/cjs/loader.js:774:30)
    at Module._compile (/node_modules/source-map-support/source-map-support.js:521:25)
    at Module._extensions..js (internal/modules/cjs/loader.js:785:10)
    at Object.nodeDevHook [as .js] (/node_modules/ts-node-dev/lib/hook.js:61:7)
    at Module.load (internal/modules/cjs/loader.js:641:32)
    at Function.Module._load (internal/modules/cjs/loader.js:556:12)
    at Module.require (internal/modules/cjs/loader.js:681:19)
(node:5539) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:5539) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
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

1 participant