Inspector class problem

Hi, I’m new using gojs and I wanted to use the class Inspector, but when I’m going to define an object of this class I got the next message on console:

Uncaught ReferenceError: Inspector is not defined at HTMLDocument.init

Anyone knows why is this happening? Thank you.

Well, clearly you haven’t successfully loaded the Inspector extension, from your copy of one of the following files:
Which file you copied into your project depends on which language and which module system you are using.

Be sure to adjust the require or import so that the extension code is using exactly the same GoJS library (whether go.js or go-debug.js or go-module.js or go-debug-module.js) as the rest of your app.

1 Like

Yes, that was my problem, thank you so much Walter.