Steps to run the aspose.diagram (node via java) in local

Hi Team,

I got a temporary license and also installed jdk 1.8 and visual studio 2017. But when i run npm i aspose.diagram i’m getting the below error

C:\Projects\POC\UI-builder\Aspose.Diagram_for_Node.js_via_Java_21.11\aspose.diagram\node_modules\aspose.diagram\node_modules\java>if not defined npm_config_node_gyp
(node “C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\…..\node_modules\node-gyp\bin\node-gyp.js” rebuild ) else (node “C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js” rebuild )
gyp ERR! find VS
gyp ERR! find VS msvs_version not set from command line or npm config
gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
gyp ERR! find VS unknown version “undefined” found at “C:\Program Files\Microsoft Visual Studio\2022\Community”
gyp ERR! find VS checking VS2017 (15.9.28307.1745) found at:
gyp ERR! find VS “C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools”
gyp ERR! find VS - “Visual Studio C++ core features” missing
gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
gyp ERR! find VS looking for Visual Studio 2015
gyp ERR! find VS - not found
gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
gyp ERR! find VS
gyp ERR! find VS **************************************************************
gyp ERR! find VS You need to install the latest version of Visual Studio
gyp ERR! find VS including the “Desktop development with C++” workload.
gyp ERR! find VS For more information consult the documentation at:
gyp ERR! find VS GitHub - nodejs/node-gyp: Node.js native addon build tool
gyp ERR! find VS **************************************************************
gyp ERR! find VS
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Visual Studio installation to use

Could anyone please assist on this and please share the steps to follow for local running to evaluate the product flow?

@Liyas

Can you please share why you are using Visual Studio in order to run Aspose.Diagram for Node.js via Java? Please follow the guidelines given in this topic in order to setup the API at your end and let us know in case you face any issues.