First time installaion: Unexpected token {


#1

Hi,

This was the first time I’ve tried NativeScript, and I get the error “Unexpected token {” when I ran nativescript-template-tutorial.

Here were what I did:

npm install -g nativescript
tns create HelloWorld --template nativescript-template-tutorial
cd HelloWorld
tns run android

The same error happens when I run “tns update”.

“tns doctor” says “No issues were detected.”

I am on Debian with Node 4.8.3 and npm 1.4.21.

If you have any suggestions please let me know. Thanks!


#2

I have just noticed that NativeScript requires Node 6 and I have 4
I will try again with Node 6 as soon as https://github.com/nodesource supports Debian Buster