uic-918-3 icon indicating copy to clipboard operation
uic-918-3 copied to clipboard

bug in Typescript

Open arnebr opened this issue 11 months ago • 2 comments

When I install the new version, I get the following error:

npm ERR! command sh -c tsc && node build/src/updateCerts.js
npm ERR! error TS18003: No inputs were found in config file '/root/repos/tool/node_modules/uic-918-3/tsconfig.json'. Specified 'include' paths were '["./src/**/*"]' and 'exclude' paths were '["./build"]'.

arnebr avatar Mar 19 '24 09:03 arnebr

The error occurs due to a "postinstall hook" that downloads the UIC certificates from an external website. The download script is written in Typescript, but npm requires a JavaScript file. I'm still looking for a solution that works with both the npm registry and the source code on GitHub.

justusjonas74 avatar Mar 19 '24 13:03 justusjonas74

@arnebr Could you please try again? Version 1.0.5 should fix the error.

justusjonas74 avatar Mar 25 '24 10:03 justusjonas74