Hi,
i am trying to deploy my app to homey from cmd line i am getting error. It was working like 2 months ago and now i can’t deploy properly even blank app created by wizard.
When i run app created by wizard and with no modifications, i get error. See log below:
c:\Users\Myš\Documents\HomeyApps\com.mys.testapp>homey app run
✓ Pre-processing app…
✓ Validating app…
✓ Homey App validated successfully against level debug
✓ Packing Homey App…
✓ Pruning dev dependencies…
× Error occurred during npm prune TypeError: prunePathsJson.removed.map is not a function
at Function.getPrunePaths (C:\Users\Myš\AppData\Roaming\npm\node_modules\homey\lib\Modules\NpmCommands.js:106:49)
at processTicksAndRejections (node:internal/process/task_queues:93:5)
at async C:\Users\Myš\AppData\Roaming\npm\node_modules\homey\lib\App\index.js:696:26
— App size: 25.21 MB
✓ Installing Homey App on Michal's Homey Pro
(http://192.168.0.12:80)…
✓ Homey App com.mys.testapp
successfully installed
✓ Running com.mys.testapp
, press CTRL+C to quit
— Profile your app’s performance at XXX
─────────────── Logging stdout & stderr ───────────────
HERE I GET DUMP OF ENTIRE FILE …\AppData\Roaming\npm\node_modules\homey\node_modules\athom-api\dist\index.js
and then:
TypeError: Cannot read property ‘merge’ of undefined
at n.concatBuffers (C:\Users\Myš\AppData\Roaming\npm\node_modules\homey\node_modules\athom-api\dist\index.js:1:433913)
at C:\Users\Myš\AppData\Roaming\npm\node_modules\homey\node_modules\athom-api\dist\index.js:1:435180
at n.applyExtensions (C:\Users\Myš\AppData\Roaming\npm\node_modules\homey\node_modules\athom-api\dist\index.js:1:434365)
at C:\Users\Myš\AppData\Roaming\npm\node_modules\homey\node_modules\athom-api\dist\index.js:1:435023
at n.flush (C:\Users\Myš\AppData\Roaming\npm\node_modules\homey\node_modules\athom-api\dist\index.js:1:434136)
at n.finish (C:\Users\Myš\AppData\Roaming\npm\node_modules\homey\node_modules\athom-api\dist\index.js:1:435372)
at n.expectHandler (C:\Users\Myš\AppData\Roaming\npm\node_modules\homey\node_modules\athom-api\dist\index.js:1:434880)
at n.add (C:\Users\Myš\AppData\Roaming\npm\node_modules\homey\node_modules\athom-api\dist\index.js:1:430335)
at Socket.c (C:\Users\Myš\AppData\Roaming\npm\node_modules\homey\node_modules\athom-api\dist\index.js:1:449063)
at Socket.emit (node:events:376:20)
at addChunk (node:internal/streams/readable:311:12)
at readableAddChunk (node:internal/streams/readable:286:9)
at Socket.Readable.push (node:internal/streams/readable:225:10)
at TCP.onStreamRead (node:internal/stream_base_commons:192:23)
and it exit back to commandline.
Does someone have an idea, what is wrong?
Homey firmware: 5.0.0-rc.50
Thanks,
Michal