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
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\Renier weitz\AppData\Roaming\npm\node_modules\nativescript\lib\common\file-system.js:171:25)
at UserSettingsService.<anonymous> (C:\Users\Renier weitz\AppData\Roaming\npm\node_modules\nativescript\lib\common\services\user-settings-service.js:92:46)
at next (native)
at C:\Users\Renier weitz\AppData\Roaming\npm\node_modules\nativescript\lib\common\services\user-settings-service.js:7:71
at __awaiter (C:\Users\Renier weitz\AppData\Roaming\npm\node_modules\nativescript\lib\common\services\user-settings-service.js:3:12)
at UserSettingsService.loadUserSettingsData (C:\Users\Renier weitz\AppData\Roaming\npm\node_modules\nativescript\lib\common\services\user-settings-service.js:82:16)
at UserSettingsService.<anonymous> (C:\Users\Renier weitz\AppData\Roaming\npm\node_modules\nativescript\lib\services\user-settings-service.js:20:24)
at next (native)
at C:\Users\Renier weitz\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
Is there something I'm not doing correctly on reinstallation? any help would be greatly appreciated.Thanks :)
The text was updated successfully, but these errors were encountered:
Hey @Meyer-dev ,
Can you check the content of your C:\Users\Renier weitz\AppData\Roaming\.nativescript-cli\user-settings.json file and see if it is valid JSON? I've seen such errors in the past that were raised when the file has incorrect content. If this is the case, can you please delete the file and run any CLI command again.
Also, if this is the case, may I ask if you have used yarn to install/update CLI?
On 09 Oct 2017 10:43 PM, "Rosen Vladimirov" ***@***.***> wrote:
Hey @Meyer-dev <https://github.com/meyer-dev> ,
Can you check the content of your C:\Users\Renier weitz\AppData\Roaming\.
nativescript-cli\user-settings.json file and see if it is valid JSON?
I've seen such errors in the past that were raised when the file has
incorrect content. If this is the case, can you please delete the file and
run any CLI command again.
Also, if this is the case, may I ask if you have used yarn to
install/update CLI?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3151 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AdoxoOPVwLtlnl0ZAdwYjZhdFL9vaHpEks5sqoVjgaJpZM4Py8y2>
.
On reinstalling nativescript; error in CLI:
Is there something I'm not doing correctly on reinstallation? any help would be greatly appreciated.Thanks :)
The text was updated successfully, but these errors were encountered: