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
'iobroker.inst' is not in the npm repository #175
Comments
log files attached: |
Please explain what exactly you cannot do with npm. The root package "iobroker.inst" or how it is called, is not supposed to be installed and in fact does not exist in the npm registry - so the error is expected. It is only used to save which adapters are installed, so npm does not delete them while installing packages. The warning from |
@AlCalzone thanks for fast reply. first, after updating iobroker to latest version I got errors below: |
On some forum I've seen recommendation to run npm i with --unsafe-perm option, when I tried to do so I've got just: 2019-06-26T13_49_49_585Z-debug.log |
Try deleting In general you should not have to check dependencies yourself. If you only ever install adapters with the official commands and the admin UI, |
Thanks much @AlCalzone, removing /opt/iobroker/package-lock.json with 'npm i --package-lock-only' and then 'npm rebuild' solved most of the issues with npm: now I'm able to audit/ls etc. So the solution is to delete package-lock.json and to rebuild npm modules. |
I would be careful with upgrading dependencies manually. Even if they are deprecated, the adapter might depend on a specific version to work correctly. It would probably be better to report this to the adapter dev, so he can take care of upgrading his dependencies to non-deprecated ones. |
Hi. After some numerous retries to install (with official 'script' way) and update iobroker on RPi3/Raspbian I've got it work itself, but cannot do anything with npm.
'npm audit fix' fails with lock package errors suggesting to run 'npm install', 'npm install' fails with "'iobroker.inst' is not in the npm repository" error - so I cannot do anything...
Is there a way to fix "'iobroker.inst' is not in the npm repository" or it is some kind of expected behavior?
The text was updated successfully, but these errors were encountered: