-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
[bug]: js-controller installed deletes github clone on startup #2814
Comments
Clone Directory before
|
Clone Directory after
|
Clone Directory after
|
The Start Log after
|
Please show output of Can it be that you perform if you have modified your package json npm will likely clean up as it detects that it is the wrong version. And with controller v6 eg additional npm modules are handled in the root dir and a start of javascript will lead to this cleanup also in your logs it tries to install a version of nuki which is not available this could also trigger npm. all in all I don’t see a controller issue here, for your very specific workflow you should check that you don’t write another version in the package json if you modify files in there, personally I don’t recommend your workflow, you could also work with npm pack and install the local tarball so npm and what you do is in sync. |
Here the Output from
|
Yep JavaScript with additional Packages so expected from my side, not sure if JavaScript could optimize to not always install on start if already installed.. @Apollon77 |
@foxriver76
Now it seems as if everything is preserved when starting iob |
npm after tarball installation
|
Do you have any tips for me on exactly how to do this? |
I am currently on vacation but it should do like the following. Perform |
What is basically the best way to develop locally without a dev server? That's why I have a dev-iobroker running, where I work via vscode with remote-ssh. This of course also changes version numbers when I start npm run release-patch, for example |
No existing issues.
Description
I develop Backitup in a standard iobroker environment, as the dev server for Backitup does not offer all functions.
With v6.0.5 of the js-controller, the complete folder of Backitup is deleted every time the iobroker is restarted and it is reinstalled from the repo.
This behavior is very unfavorable for adapter development.
Is it possible to change this or to set a manual flag for the developers to prevent this?
Translated with DeepL.com (free version)
Reproduction instruction
No response
JS-controller version
6.0.5
Node version
20.15.0
The text was updated successfully, but these errors were encountered: