tns preview
crashes when scanning on devices with different platforms
#4893
Labels
Milestone
If you do preview of project for first time on both ios and android devices, the command crashes with
TypeError: Cannot read property 'hash' of null
at PreviewAppController. (C:\Users\test\AppData\Roaming\npm\node_modules\nativescript\lib\controllers\preview-app-controller.js:130:64)
at Generator.next ()
at fulfilled (C:\Users\test\AppData\Roaming\npm\node_modules\nativescript\lib\controllers\preview-app-controller.js:10:58)
at process._tickCallback (internal/process/next_tick.js:68:7)
To Reproduce
tns create TestApp --js
tns preview
On next preview runs everything works as expected
The text was updated successfully, but these errors were encountered: