Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem for installing and running the code #3

Open
TeletcheaLab opened this issue Oct 14, 2022 · 3 comments
Open

Problem for installing and running the code #3

TeletcheaLab opened this issue Oct 14, 2022 · 3 comments

Comments

@TeletcheaLab
Copy link

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 source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated rollup-plugin-json@3.1.0: This module has been deprecated and is no longer maintained. Please use @rollup/plugin-json.
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated rollup-plugin-node-resolve@4.2.4: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.
npm WARN deprecated rollup-plugin-babel@4.4.0: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel.
npm WARN deprecated rollup-plugin-commonjs@9.3.4: 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

@ptosco
Copy link
Collaborator

ptosco commented Oct 14, 2022

@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.

@ptosco
Copy link
Collaborator

ptosco commented Oct 14, 2022

@TeletcheaLab I have published an updated rdkit-structure-renderer@1.1.1 package that should solve the problem. Could you please let me know if you still have issues?

@ptosco
Copy link
Collaborator

ptosco commented Oct 14, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants