Skip to Content
0
May 30, 2018 at 07:56 AM

Build of XSA node modules failed, because of di-local-npm-registry/npm/synopia/ problems

1082 Views

Hi experts,

I have to HANA 2.0 SPS03 express Edition installations running, where I develop apps. One VM Installation on my Laptop and one binary installed on AWS.


Boths worked fine until end of last week. But now I get an Build error on my node modules on both systems (no configuration changes have been made).

Build error:

[INFO] Injecting source code into builder...[INFO] Source code injection finished[INFO] ------------------------------------------------------------------------npm ERR! code ETARGETnpm ERR! notarget No matching version found for passport@0.4.0npm ERR! notarget In most cases you or one of your dependencies are requestingnpm ERR! notarget a package version that doesn't exist.npm ERR! notarget npm ERR! notarget It was specified as a dependency of 'x2c_devman'npm ERR! notarget 
npm ERR! A complete log of this run can be found in:npm ERR!  /hana/shared/HXE/xs/app_working/hxehost/executionroot/3b94c5b9-b05a-4036-a606-9ebe74da28bd/app/META-INF/cache/node8.9/.npm/_logs/2018-05-30T07_31_24_849Z-debug.log 

Log output of application di-local-npm-registry:

[APP/5-2] OUT http --> ERR, req: 'GET http://registry.npmjs.org/express', error: unable to get local issuer certificate (connecting to registry.npmjs.org:443) 

Other users have the same problem. But they assume proxy problems.

I have no proxy but the same problems.

I solved the problem temporary by setting up a sinopia installation and reconfigured de-builder to use this instead of di-local-npm-registry. This works fine.

But I like to go back to a default XSA di-builder configuration.

Any idea where the problem comes from ?

Best regards
Achim