andrei-tatar / node-red-contrib-smartnora

Node Red Google Home integration
https://smart-nora.eu/
109 stars 24 forks source link

problem update to 1.18.2 #258

Closed william89731 closed 1 year ago

william89731 commented 1 year ago

hi andrei,

i am trying to update. log error:

npm WARN config production Use --omit=dev instead. npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /data/node_modules/firebase npm ERR! dest /data/node_modules/.firebase-fnFyHLBA npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/data/node_modules/firebase' -> '/data/node_modules/.firebase-fnFyHLBA'

andrei-tatar commented 1 year ago

Hi @william89731 , Did you manage to solve this? Where are you running node-red?

FireWizard52 commented 1 year ago

Hi @william89731,

See: https://discourse.nodered.org/t/enotempty-when-installing-node-from-palette-since-nodered-3-0-directory-not-empty/65968

Possible solution: Delete the node_modules directory and do a re-install of the modules. (In the .node-red folder, run npm install)

Regards

william89731 commented 1 year ago

Hi @william89731 , Did you manage to solve this? Where are you running node-red?

kubernetes cluster baremetal

william89731 commented 1 year ago

Hi @william89731,

See: https://discourse.nodered.org/t/enotempty-when-installing-node-from-palette-since-nodered-3-0-directory-not-empty/65968

Possible solution: Delete the node_modules directory and do a re-install of the modules. (In the .node-red folder, run npm install)

Regards

solved! delete folder an run "npm i node-red-contrib-smartnora@1.18.2"

thanks too much!!