You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, i try to install NativeScript but i have this problem:
"C:>tns
Unexpected token in JSON at position 0
Failed to display command help SyntaxError: Unexpected token in JSON at position 0
at Object.parse (native)
at FileSystem.readJson (C:\Users*\AppData\Roaming\npm\node_modules\nativescript\lib\common\file-system.js:171:25)
at UserSettingsService. (C:\Users*\AppData\Roaming\npm\node_modules\nativescript\lib\common\services\user-settings-service.js:92:46)
at next (native)
at C:\Users*\AppData\Roaming\npm\node_modules\nativescript\lib\common\services\user-settings-service.js:7:71
at __awaiter (C:\Users*\AppData\Roaming\npm\node_modules\nativescript\lib\common\services\user-settings-service.js:3:12)
at UserSettingsService.loadUserSettingsData (C:\Users*\AppData\Roaming\npm\node_modules\nativescript\lib\common\services\user-settings-service.js:82:16)
at UserSettingsService. (C:\Users*\AppData\Roaming\npm\node_modules\nativescript\lib\services\user-settings-service.js:20:24)
at next (native)
at C:\Users**\AppData\Roaming\npm\node_modules\nativescript\lib\services\user-settings-service.js:7:71
Error while reporting exception: SyntaxError: Unexpected token in JSON at position 0"
Please help for fix this problem.
From @VentsislavDinev on September 22, 2017 23:15
Hello, i try to install NativeScript but i have this problem:
"C:>tns
Unexpected token in JSON at position 0
Failed to display command help SyntaxError: Unexpected token in JSON at position 0
at Object.parse (native)
at FileSystem.readJson (C:\Users*\AppData\Roaming\npm\node_modules\nativescript\lib\common\file-system.js:171:25)
at UserSettingsService. (C:\Users*\AppData\Roaming\npm\node_modules\nativescript\lib\common\services\user-settings-service.js:92:46)
at next (native)
at C:\Users*\AppData\Roaming\npm\node_modules\nativescript\lib\common\services\user-settings-service.js:7:71
at __awaiter (C:\Users*\AppData\Roaming\npm\node_modules\nativescript\lib\common\services\user-settings-service.js:3:12)
at UserSettingsService.loadUserSettingsData (C:\Users*\AppData\Roaming\npm\node_modules\nativescript\lib\common\services\user-settings-service.js:82:16)
at UserSettingsService. (C:\Users*\AppData\Roaming\npm\node_modules\nativescript\lib\services\user-settings-service.js:20:24)
at next (native)
at C:\Users**\AppData\Roaming\npm\node_modules\nativescript\lib\services\user-settings-service.js:7:71
Error while reporting exception: SyntaxError: Unexpected token in JSON at position 0"
Please help for fix this problem.
Copied from original issue: NativeScript/NativeScript#4878
The text was updated successfully, but these errors were encountered: