{"action":"created","issue":{"url":"https://api.github.com/repos/Netflix/security_monkey/issues/300","repository_url":"https://api.github.com/repos/Netflix/security_monkey","labels_url":"https://api.github.com/repos/Netflix/security_monkey/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/Netflix/security_monkey/issues/300/comments","events_url":"https://api.github.com/repos/Netflix/security_monkey/issues/300/events","html_url":"https://github.com/Netflix/security_monkey/issues/300","id":135024595,"number":300,"title":"dart bug: folder structure changed and dead \"packages\" pointer","user":{"login":"westlifezs","id":10884856,"avatar_url":"https://avatars.githubusercontent.com/u/10884856?v=3","gravatar_id":"","url":"https://api.github.com/users/westlifezs","html_url":"https://github.com/westlifezs","followers_url":"https://api.github.com/users/westlifezs/followers","following_url":"https://api.github.com/users/westlifezs/following{/other_user}","gists_url":"https://api.github.com/users/westlifezs/gists{/gist_id}","starred_url":"https://api.github.com/users/westlifezs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westlifezs/subscriptions","organizations_url":"https://api.github.com/users/westlifezs/orgs","repos_url":"https://api.github.com/users/westlifezs/repos","events_url":"https://api.github.com/users/westlifezs/events{/privacy}","received_events_url":"https://api.github.com/users/westlifezs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-20T02:37:10Z","updated_at":"2016-03-01T18:55:24Z","closed_at":null,"body":"Hello,\r\n\r\nIt seems like dart changed the build folder structure for version 1.12.2\r\nIn the tutorial under session \" Compile the web-app from the Dart code:\"\r\n\r\nThere is one cmd: \"sudo /bin/cp -R /usr/local/src/security_monkey/dart/build/web/* /usr/local/src/security_monkey/security_monkey/static/\".\r\n\r\nThe cmd will fail because \"/usr/local/src/security_monkey/dart/build/web/\" is no longer exist.\r\nthe new web folder is at \"/usr/local/src/security_monkey/dart/web\".\r\n\r\nHowever, you cannot directly copy the new web folder as it contains a pointer \"packages\" pointing to one level above , i.e. \"../packages\". If we directly copy this folder, the packages within web will become a dead pointer.\r\n\r\nOne possible solution is to copy the \"/usr/local/src/security_monkey/dart/build/web/\" to \"/usr/local/src/security_monkey/security_monkey/static/\" and fix the \"packages\" pointer.\r\n\r\nI am not very familiar with dart. If anyone could look into this issue, then it will be great. \r\nI am more than happy to work with the team to resolve this issue.\r\n"},"comment":{"url":"https://api.github.com/repos/Netflix/security_monkey/issues/comments/190851212","html_url":"https://github.com/Netflix/security_monkey/issues/300#issuecomment-190851212","issue_url":"https://api.github.com/repos/Netflix/security_monkey/issues/300","id":190851212,"user":{"login":"westlifezs","id":10884856,"avatar_url":"https://avatars.githubusercontent.com/u/10884856?v=3","gravatar_id":"","url":"https://api.github.com/users/westlifezs","html_url":"https://github.com/westlifezs","followers_url":"https://api.github.com/users/westlifezs/followers","following_url":"https://api.github.com/users/westlifezs/following{/other_user}","gists_url":"https://api.github.com/users/westlifezs/gists{/gist_id}","starred_url":"https://api.github.com/users/westlifezs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westlifezs/subscriptions","organizations_url":"https://api.github.com/users/westlifezs/orgs","repos_url":"https://api.github.com/users/westlifezs/repos","events_url":"https://api.github.com/users/westlifezs/events{/privacy}","received_events_url":"https://api.github.com/users/westlifezs/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T18:55:23Z","updated_at":"2016-03-01T18:55:23Z","body":"After I script the whole process, I am no longer hitting this error. thanks for your answers"}}