{"action":"closed","issue":{"url":"https://api.github.com/repos/marko-js/marko/issues/290","repository_url":"https://api.github.com/repos/marko-js/marko","labels_url":"https://api.github.com/repos/marko-js/marko/issues/290/labels{/name}","comments_url":"https://api.github.com/repos/marko-js/marko/issues/290/comments","events_url":"https://api.github.com/repos/marko-js/marko/issues/290/events","html_url":"https://github.com/marko-js/marko/issues/290","id":153681497,"number":290,"title":"Invalid string (\"./browser.json\"/>): SyntaxError: Unexpected token / in JSON","user":{"login":"sanjeevashrivastava","id":19255945,"avatar_url":"https://avatars.githubusercontent.com/u/19255945?v=3","gravatar_id":"","url":"https://api.github.com/users/sanjeevashrivastava","html_url":"https://github.com/sanjeevashrivastava","followers_url":"https://api.github.com/users/sanjeevashrivastava/followers","following_url":"https://api.github.com/users/sanjeevashrivastava/following{/other_user}","gists_url":"https://api.github.com/users/sanjeevashrivastava/gists{/gist_id}","starred_url":"https://api.github.com/users/sanjeevashrivastava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanjeevashrivastava/subscriptions","organizations_url":"https://api.github.com/users/sanjeevashrivastava/orgs","repos_url":"https://api.github.com/users/sanjeevashrivastava/repos","events_url":"https://api.github.com/users/sanjeevashrivastava/events{/privacy}","received_events_url":"https://api.github.com/users/sanjeevashrivastava/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2016-05-08T22:41:02Z","updated_at":"2016-05-09T18:32:34Z","closed_at":"2016-05-09T18:32:34Z","body":"Hi,\r\nI am using Marko v3 and facing the following issue.\r\n\r\nAn error occurred while trying to compile template at path \"D:\\Projects\\Test\\Test\\views\\admin\\Dashboard.marko\". Error(s) in template: 1) [views\\admin\\Dashboard.marko:1:25] Invalid string (\"./browser.json\"/>): SyntaxError: Unexpected token / in JSON at position 16 \r\n\r\n```\r\nError: An error occurred while trying to compile template at path \"D:\\Projects\\Test\\Test\\views\\admin\\Dashboard.marko\". Error(s) in template:\r\n1) [views\\admin\\Dashboard.marko:1:25] Invalid string (\"./browser.json\"/>): SyntaxError: Unexpected token / in JSON at position 16\r\n\r\n    at Compiler.compile (D:\\Projects\\Test\\Test\\node_modules\\marko\\compiler\\Compiler.js:124:25)\r\n    at Object.compileFile (D:\\Projects\\Test\\Test\\node_modules\\marko\\compiler\\index.js:91:25)\r\n    at loadFile (D:\\Projects\\Test\\Test\\node_modules\\marko\\runtime\\loader.js:116:34)\r\n    at load (D:\\Projects\\Test\\Test\\node_modules\\marko\\runtime\\loader.js:157:16)\r\n    at Object.load (D:\\Projects\\Test\\Test\\node_modules\\marko\\runtime\\marko-runtime.js:296:33)\r\n    at exports.DashboardPage (D:\\Projects\\Test\\Test\\controllers\\admin\\Dashboard.js:2:26)\r\n    at Layer.handle [as handle_request] (D:\\Projects\\Test\\Test\\node_modules\\express\\lib\\router\\layer.js:82:5)\r\n    at next (D:\\Projects\\Test\\Test\\node_modules\\express\\lib\\router\\route.js:100:13)\r\n    at Route.dispatch (D:\\Projects\\Test\\Test\\node_modules\\express\\lib\\router\\route.js:81:3)\r\n    at Layer.handle [as handle_request] (D:\\Projects\\Test\\Test\\node_modules\\express\\lib\\router\\layer.js:82:5)\r\n```\r\n\r\nMy template is as below\r\n\r\n```xml\r\n<lasso-page package-path=\"./browser.json\"/>\r\n<!DOCTYPE html>\r\n<html ng-app=\"MyPortal\" lang=\"en\">\r\n  <head>\r\n    <title>${data.title}</title>\r\n    <meta charset=\"UTF-8\" />\r\n    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'/>      \r\n    <link href=\"${data.CDNUrl}/stylesheets/style.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n    <lasso-head/>\r\n  </head>\r\n  <body >\r\n    <div style=\"border:1px solid;border-color:#595959;width:100%;height:100%;\">\r\n      <table style=\"width:100%;height:100%;border:0px solid;border-collapse:collapse\">\r\n        <tr>\r\n          <td style=\"height:120px;margin:0;padding:0px\">\r\n            <table style=\"width:100%;border:0px solid;border-collapse:collapse\">\r\n              <tr style=\"height:80px;background-color:#e9eaed\">\r\n                <td>\r\n                  <a href=\"/\">\r\n                    <img src=\"${data.CDNUrl}/images/Logo.png\" alt=\"\" />\r\n                  </a>\r\n                </td>\r\n              </tr>\r\n              <tr style=\"height:40px;background-color:#333\">\r\n                <td>\r\n                  <a class=\"link\" href=\"/Admin/Dashboard\">Dashboard</a>\r\n                </td>\r\n              </tr>\r\n            </table>\r\n          </td>\r\n        </tr>\r\n        <tr>\r\n          <td style=\"background-color:white;margin:0;padding:0px\">\r\n\r\n          </td>\r\n        </tr>\r\n        <tr>\r\n          <td style=\"height:50px;margin:0;padding:0px\">\r\n            \r\n          </td>\r\n        </tr>\r\n      </table>\r\n    </div>\r\n    <lasso-body/>\r\n    <init-widgets/>\r\n    <browser-refresh/>\r\n  </body>\r\n</html>\r\n```\r\n\r\nCan you tell me what is the wrong with the template?\r\n\r\n"}}