{"action":"created","issue":{"url":"https://api.github.com/repos/wq/wq.app/issues/52","labels_url":"https://api.github.com/repos/wq/wq.app/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/wq/wq.app/issues/52/comments","events_url":"https://api.github.com/repos/wq/wq.app/issues/52/events","html_url":"https://github.com/wq/wq.app/issues/52","id":102876771,"number":52,"title":"Errors when trying to optimize","user":{"login":"joshglenn","id":6953274,"avatar_url":"https://avatars.githubusercontent.com/u/6953274?v=3","gravatar_id":"","url":"https://api.github.com/users/joshglenn","html_url":"https://github.com/joshglenn","followers_url":"https://api.github.com/users/joshglenn/followers","following_url":"https://api.github.com/users/joshglenn/following{/other_user}","gists_url":"https://api.github.com/users/joshglenn/gists{/gist_id}","starred_url":"https://api.github.com/users/joshglenn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshglenn/subscriptions","organizations_url":"https://api.github.com/users/joshglenn/orgs","repos_url":"https://api.github.com/users/joshglenn/repos","events_url":"https://api.github.com/users/joshglenn/events{/privacy}","received_events_url":"https://api.github.com/users/joshglenn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-24T19:49:24Z","updated_at":"2015-08-25T19:38:02Z","closed_at":"2015-08-25T19:38:02Z","body":"I have installed the sample application wq.app. I am currently trying to build it. When I go to the app folder, then type ```wq optimize```, I get this:\r\n\r\n```\r\n####################\r\nOptimizing with r.js\r\nOptimizing (standard.keepLines.keepWhitespace) CSS file: /Users/user/Development/python/wqprojectdir/htdocs-build/css/lib/highlight.css\r\nOptimizing (standard.keepLines.keepWhitespace) CSS file: /Users/user/Development/python/wqprojectdir/htdocs-build/css/lib/jquery.mobile.css\r\nOptimizing (standard.keepLines.keepWhitespace) CSS file: /Users/user/Development/python/wqprojectdir/htdocs-build/css/lib/jquery.mobile.icons.css\r\nOptimizing (standard.keepLines.keepWhitespace) CSS file: /Users/user/Development/python/wqprojectdir/htdocs-build/css/lib/jquery.mobile.structure.css\r\nOptimizing (standard.keepLines.keepWhitespace) CSS file: /Users/user/Development/python/wqprojectdir/htdocs-build/css/lib/leaflet.css\r\nOptimizing (standard.keepLines.keepWhitespace) CSS file: /Users/user/Development/python/wqprojectdir/htdocs-build/css/lib/leaflet.draw.css\r\nOptimizing (standard.keepLines.keepWhitespace) CSS file: /Users/user/Development/python/wqprojectdir/htdocs-build/css/lib/leaflet.markercluster.css\r\nOptimizing (standard.keepLines.keepWhitespace) CSS file: /Users/user/Development/python/wqprojectdir/htdocs-build/css/themes.css\r\nOptimizing (standard.keepLines.keepWhitespace) CSS file: /Users/user/Development/python/wqprojectdir/htdocs-build/css/wqproject.css\r\nlib/leaflet.css\r\n  URL not a relative URL, skipping: #default#VML\r\n\r\nTracing dependencies for: wqproject\r\nError: ENOENT, no such file or directory '/Users/user/Development/python/wqprojectdir/htdocs-build/js/data/config.js'\r\nIn module tree:\r\n    wqproject\r\n      wqproject/main\r\n        wqproject/config\r\n\r\nError: Error: ENOENT, no such file or directory '/Users/user/Development/python/wqprojectdir/htdocs-build/js/data/config.js'\r\nIn module tree:\r\n    wqproject\r\n      wqproject/main\r\n        wqproject/config\r\n\r\n    at Error (native)\r\n```\r\n\r\n I went through the other build steps that come before optimize, and they all worked out fine. What am I missing?"},"comment":{"url":"https://api.github.com/repos/wq/wq.app/issues/comments/134712078","html_url":"https://github.com/wq/wq.app/issues/52#issuecomment-134712078","issue_url":"https://api.github.com/repos/wq/wq.app/issues/52","id":134712078,"user":{"login":"joshglenn","id":6953274,"avatar_url":"https://avatars.githubusercontent.com/u/6953274?v=3","gravatar_id":"","url":"https://api.github.com/users/joshglenn","html_url":"https://github.com/joshglenn","followers_url":"https://api.github.com/users/joshglenn/followers","following_url":"https://api.github.com/users/joshglenn/following{/other_user}","gists_url":"https://api.github.com/users/joshglenn/gists{/gist_id}","starred_url":"https://api.github.com/users/joshglenn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshglenn/subscriptions","organizations_url":"https://api.github.com/users/joshglenn/orgs","repos_url":"https://api.github.com/users/joshglenn/repos","events_url":"https://api.github.com/users/joshglenn/events{/privacy}","received_events_url":"https://api.github.com/users/joshglenn/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T19:38:02Z","updated_at":"2015-08-25T19:38:02Z","body":"Ok. Thanks! Optimize worked and was able to complete successfully when I ran the deploy.sh script from the project directory using the command ``` sudo ./deploy.sh {version number} ``` (in my case ``` sudo ./deploy.sh 0.0.1 ```)."}}