Problem for installing and running the code
Dear Paolo,
I am at the hackathon and tried to test your library using the provided examples, but it seems some dependencies are not public, so I cannot install them.
On my machine (Mac Os X latest), I did: brew install npm npm i @rdkit/rdkit
"npm run build" fails with an error on pika (not found) so I did:
npm install pika
But then the error came:
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: This module has been deprecated and is no longer maintained. Please use @rollup/plugin-json.
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.
npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel.
npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-commonjs.
npm ERR! code ENOTFOUND
npm ERR! syscall getaddrinfo
npm ERR! errno ENOTFOUND
**npm ERR! network request to https://repo.nibr.novartis.net/artifactory/api/npm/npm/path-platform/-/path-platform-0.11.15.tgz failed, reason: getaddrinfo ENOTFOUND repo.nibr.novartis.net**
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/stephane/.npm/_logs/2022-10-14T11_46_18_712Z-debug-0.log
It seems the https://repo.nibr.novartis.net is not public so packages cannot be installed...
Is is possible to add the missing dependencies elsewhere (or another way to test)?
Thanks a lot in advance,
Stéphane
@TeletcheaLab Hi Stéphane, It should just be a matter of re-generating package-lock.json on a non-Novartis machine to replace that repo with the public npm repo - give me a few minutes, I'll ping you when it's ready.
In the meantime, if you run
rm package-lock.json
npm i
it will regenerate package-lock.json from the public npmjs registry and the installation will succeed.
@TeletcheaLab I have published an updated [email protected] package that should solve the problem. Could you please let me know if you still have issues?
If you run npm run serve it will load a test index.html page with several examples that will help you getting started. As soon as I find a bit of time I will also generate proper jsdoc documentation.