Closed
Description
- CLI: 6.0.2
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
- Scan the QR code on android and then scan it on ios device. Preview command crashes.
On next preview runs everything works as expected