Skip to content

Ran npm install -g zwave-js-ui to upgrade and backup directory wiped #3763

Answered by kpine
downtownsj1973 asked this question in Q&A
Discussion options

You must be logged in to vote

Here are the docs for your install method: https://zwave-js.github.io/zwave-js-ui/#/getting-started/other-methods?id=npm

There's a section with required setup:

Setting those environment variables will put your storage directory outside of the default global directory. Right before that there's a highlighted warning:

When you run npm install -g a second time it seems to wipe the entire node_modules directory, which is where your store directory would have been located. On my Alpine linux container that would be /usr/local/lib/node_modules/zwave-js-ui. Sorry to say, but it looks like your settings are lost.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by robertsLando
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants