Open mbierman opened 2 years ago
When I try to update to 0.8.0 I get this error:
root@homebridge:/var/lib/homebridge $ cat /home/homebridge/.npm/_logs/2022-10-15T07_45_27_877Z-debug-0.log 0 verbose cli /opt/homebridge/bin/node /opt/homebridge/bin/npm 1 info using npm@8.19.2 2 info using node@v16.18.0 3 timing npm:load:whichnode Completed in 1ms 4 timing config:load:defaults Completed in 9ms 5 timing config:load:file:/opt/homebridge/lib/node_modules/npm/npmrc Completed in 3ms 6 timing config:load:builtin Completed in 4ms 7 timing config:load:cli Completed in 11ms 8 timing config:load:env Completed in 2ms 9 timing config:load:file:/homebridge/.npmrc Completed in 7ms 10 timing config:load:project Completed in 51ms 11 timing config:load:file:/home/homebridge/.npmrc Completed in 1ms 12 timing config:load:user Completed in 2ms 13 timing config:load:file:/opt/homebridge/etc/npmrc Completed in 0ms 14 timing config:load:global Completed in 1ms 15 timing config:load:validate Completed in 3ms 16 timing config:load:credentials Completed in 4ms 17 timing config:load:setEnvs Completed in 5ms 18 timing config:load Completed in 98ms 19 timing npm:load:configload Completed in 99ms 20 timing npm:load:mkdirpcache Completed in 5ms 21 timing npm:load:mkdirplogs Completed in 2ms 22 verbose title npm uninstall homebridge-dummy 23 verbose argv "uninstall" "--save" "homebridge-dummy" 24 timing npm:load:setTitle Completed in 7ms 25 timing config:load:flatten Completed in 16ms 26 timing npm:load:display Completed in 26ms 27 verbose logfile logs-max:10 dir:/home/homebridge/.npm/_logs 28 verbose logfile /home/homebridge/.npm/_logs/2022-10-15T07_45_27_877Z-debug-0.log 29 timing npm:load:logFile Completed in 32ms 30 timing npm:load:timers Completed in 0ms 31 timing npm:load:configScope Completed in 0ms 32 timing npm:load Completed in 177ms 33 timing arborist:ctor Completed in 4ms 34 silly logfile done cleaning log files 35 timing arborist:ctor Completed in 0ms 36 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules 37 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules 38 timing idealTree:init Completed in 6294ms 39 timing idealTree:userRequests Completed in 19ms 40 silly idealTree buildDeps 41 timing idealTree:#root Completed in 2ms 42 timing idealTree:buildDeps Completed in 10ms 43 timing idealTree:fixDepFlags Completed in 33ms 44 timing idealTree Completed in 6413ms 45 timing reify:loadTrees Completed in 6417ms 46 timing reify:diffTrees Completed in 52ms 47 silly reify mark retired [ '/homebridge/node_modules/homebridge-dummy' ] 48 silly reify moves { 48 silly reify '/homebridge/node_modules/homebridge-dummy': '/homebridge/node_modules/.homebridge-dummy-m0hxZOzW' 48 silly reify } 49 timing reify:rollback:retireShallow Completed in 2ms 50 timing command:uninstall Completed in 6543ms 51 verbose stack Error: ENOTEMPTY: directory not empty, rename '/homebridge/node_modules/homebridge-dummy' -> '/homebridge/node_modules/.homebridge-dummy-m0hxZOzW' 52 verbose cwd /homebridge 53 verbose Linux 3.10.105 54 verbose node v16.18.0 55 verbose npm v8.19.2 56 error code ENOTEMPTY 57 error syscall rename 58 error path /homebridge/node_modules/homebridge-dummy 59 error dest /homebridge/node_modules/.homebridge-dummy-m0hxZOzW 60 error errno -39 61 error ENOTEMPTY: directory not empty, rename '/homebridge/node_modules/homebridge-dummy' -> '/homebridge/node_modules/.homebridge-dummy-m0hxZOzW' 62 verbose exit -39 63 timing npm Completed in 7240ms 64 verbose unfinished npm timer reify 1665819928566 65 verbose unfinished npm timer reify:retireShallow 1665819935076 66 verbose code -39 67 error A complete log of this run can be found in: 67 error /home/homebridge/.npm/_logs/2022-10-15T07_45_27_877Z-debug-0.log
Not sure what caused this. Removed .homebridge-dummy-m0hxZOzW and uninstalled, reinstalled and all is good.
When I try to update to 0.8.0 I get this error: