v93 standard install , imxclient compile-api fails because nodejs.zip is missing

Hi,

In a v93 standard installation, imxclient compile-api fails because nodejs.zip is missing in the install folder:

PS C:\Program Files\One Identity\One Identity Manager> .\imxclient compile-api /copyapi imx-api-ccc.tgz /packagename imx-api-ccc
ImxClient 9.3 v93-278876
© 2024 One Identity LLC. All rights reserved.

Attempting to connect to database...
Could not open connection, using connection dialog as fallback.
Info: Opening connection dialog...
(...)
Warn: Command compile-api failed with exception.System.IO.FileNotFoundException: Could not load file or assembly 'C:\Program Files\One Identity\One Identity Manager\nodejs.zip'. El sistema no puede encontrar el archivo especificado.
File name: 'C:\Program Files\One Identity\One Identity Manager\nodejs.zip'
   at VI.ApiDesigner.NpmRunner.GetEffectiveNpmPath()
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
   at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
   at System.Lazy`1.CreateValue()
   
(...)

You can always download nodejs standalone binary from nodejs.org , rename it to nodejs.zip and place it in the install folder. Not sure if a named version is needed, though.

Parents Reply Children
No Data