Cannot find module '../release/go.js'

I am using the DrawCommandHandler extension in my sample application and i am getting the below error.

I am using the below code to render the extension

Please help me out to render the extension using angular.

Always copy extension files into your project and fix their import statements to refer to the proper location for the GoJS library that you are using.

I am using the node module location and please check the gojs location as well

this application is working before adding the extension reference.

The DrawCommandHandler.js file imports GoJS as import * as go from '../release/go.js'. As Walter said, you need to copy that extension into your project and change the import statement to import * as go from 'gojs' to match your project’s gojs import statement.