{"action":"closed","issue":{"url":"https://api.github.com/repos/kitajchuk/node-squarespace-server/issues/100","labels_url":"https://api.github.com/repos/kitajchuk/node-squarespace-server/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/kitajchuk/node-squarespace-server/issues/100/comments","events_url":"https://api.github.com/repos/kitajchuk/node-squarespace-server/issues/100/events","html_url":"https://github.com/kitajchuk/node-squarespace-server/issues/100","id":85303583,"number":100,"title":"TemplateSyntaxError: Got too few {end} statements","user":{"login":"kweestian","id":8764051,"avatar_url":"https://avatars.githubusercontent.com/u/8764051?v=3","gravatar_id":"","url":"https://api.github.com/users/kweestian","html_url":"https://github.com/kweestian","followers_url":"https://api.github.com/users/kweestian/followers","following_url":"https://api.github.com/users/kweestian/following{/other_user}","gists_url":"https://api.github.com/users/kweestian/gists{/gist_id}","starred_url":"https://api.github.com/users/kweestian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kweestian/subscriptions","organizations_url":"https://api.github.com/users/kweestian/orgs","repos_url":"https://api.github.com/users/kweestian/repos","events_url":"https://api.github.com/users/kweestian/events{/privacy}","received_events_url":"https://api.github.com/users/kweestian/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-04T22:21:30Z","updated_at":"2015-06-04T23:56:33Z","closed_at":"2015-06-04T23:56:33Z","body":"Hey first off thank for making this, really awesome!\r\n\r\nMaking a project for a friend, kind of a newbie at life/coding so bare with me\r\n\r\nEverything was running fine yesterday, then I pushed some minor commits to my squarespace repo. After pushing, I started my server,  signed in to squarespace locally,  and then my server shuts down and give me this :\r\n\r\n```\r\n$ sqs server\r\n> sqs-server: Server.port: 5050\r\n\r\n/Users/coolamelin/npm/lib/node_modules/node-squarespace-server/node_modules/node-squarespace-jsont/lib/jsontemplate.js:768\r\n    throw {\r\n    ^\r\nTemplateSyntaxError: Got too few {end} statements\r\n\r\n```\r\n\r\nbefore i clear the cache, if i start my server:\r\n\r\n```\r\n$ sqs server\r\nundefined:0\r\n\r\n\r\nSyntaxError: Unexpected end of input\r\n    at Object.parse (native)\r\n    at /Users/coolamelin/npm/lib/node_modules/node-squarespace-server/squarespace-util.js:98:22\r\n    at /Users/coolamelin/npm/lib/node_modules/node-squarespace-server/squarespace-util.js:85:17\r\n    at fs.js:336:14\r\n    at FSReqWrap.oncomplete (fs.js:99:15)\r\n```\r\n\r\nthen $sqs buster lets me do it all over again. \r\n\r\nIve reinstalled and updated npm, node not sure what else to try!\r\n\r\nim cloning a file which is running fine on squarespace so there should be nothing in the code thats breaking, the only file ive touched is : \r\n\r\n<h4>temple.conf:\r\n\r\n```\r\n\r\n{\r\n\r\n  \"name\" : \"Pacific\",\r\n  \"author\" : \"Squarespace\",\r\n\r\n  \"layouts\" : {\r\n    \"default\" : {\r\n      \"name\" : \"Default\",\r\n      \"regions\" : [ \"site\" ]\r\n    }\r\n  },\r\n\r\n  \"navigations\" : [ {\r\n      \"title\" : \"Main Navigation\",\r\n      \"name\" : \"mainNav\"\r\n  },\r\n  {\r\n      \"title\" : \"Secondary Navigation\",\r\n      \"name\" : \"secondaryNav\"\r\n  }],\r\n\r\n  \"stylesheets\" : [\r\n    \"tweak.less\",\r\n    \"helpers.less\",\r\n    \"mixins.less\",\r\n    \"base.less\",\r\n    \"blog.less\",\r\n    \"index.less\",\r\n    \"mobile.less\"\r\n  ],\r\n\r\n  \"systemCollections\" : [\r\n    \"products\",\r\n    \"gallery\",\r\n    \"events\",\r\n    \"album\"\r\n  ],\r\n\r\n  \"server\": {\r\n    \"siteurl\": \"https://harrison-brome.squarespace.com\",\r\n    \"sandbox\": true\r\n  }\r\n\r\n}\r\n\r\n```\r\n\r\nAny help helps :)"}}