Sign in to follow this  

CEF error

Recommended Posts


I write a dashboard. I enabled the CEF-Debugging, and I always get this:

events.js:2 Uncaught TypeError: Cannot read property 'new' of undefined
    at events.js:2

Here's the events.js:

let devWindow = {
	keyCode: 0x7B,
	windowOpen: false
} = devWindow.windowOpen;

// keyDown
mp.keys.bind(devWindow.keyCode, true, function(){ = !devWindow.windowOpen;
		devWindow.windowOpen = !devWindow.windowOpen;
		let name =;
		let money =;
		devWindow.execute(`dash_update('dashboard_update(${name}, ${money});`);
});;'clientLog', (logObj) => {
	if (devWindow.browser)


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.