{"action":"created","issue":{"url":"https://api.github.com/repos/lookfirst/systemjs-seed/issues/5","labels_url":"https://api.github.com/repos/lookfirst/systemjs-seed/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/lookfirst/systemjs-seed/issues/5/comments","events_url":"https://api.github.com/repos/lookfirst/systemjs-seed/issues/5/events","html_url":"https://github.com/lookfirst/systemjs-seed/issues/5","id":80182139,"number":5,"title":"Error when running as production","user":{"login":"csbenjamin","id":2938621,"avatar_url":"https://avatars.githubusercontent.com/u/2938621?v=3","gravatar_id":"","url":"https://api.github.com/users/csbenjamin","html_url":"https://github.com/csbenjamin","followers_url":"https://api.github.com/users/csbenjamin/followers","following_url":"https://api.github.com/users/csbenjamin/following{/other_user}","gists_url":"https://api.github.com/users/csbenjamin/gists{/gist_id}","starred_url":"https://api.github.com/users/csbenjamin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csbenjamin/subscriptions","organizations_url":"https://api.github.com/users/csbenjamin/orgs","repos_url":"https://api.github.com/users/csbenjamin/repos","events_url":"https://api.github.com/users/csbenjamin/events{/privacy}","received_events_url":"https://api.github.com/users/csbenjamin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-05-24T14:56:46Z","updated_at":"2015-09-06T16:45:38Z","closed_at":null,"body":"When I try to execute `export SITUATION=production && gulp run` I don't get any error whiling building \r\n![screenshot from 2015-05-24 11 34 37](https://cloud.githubusercontent.com/assets/2938621/7788237/08aea6c4-0209-11e5-8348-c3684d9b30bf.png)\r\n\r\nbut when I try to open in the browser, I get errors\r\n![screenshot from 2015-05-24 11 37 43](https://cloud.githubusercontent.com/assets/2938621/7788254/99286870-0209-11e5-9015-495ab3707360.png)\r\n\r\nI don't understand what is happening. When I click in \"angular.js\" link in the image above, I get this\r\n![screenshot from 2015-05-24 11 41 52](https://cloud.githubusercontent.com/assets/2938621/7788266/ff6a757e-0209-11e5-9727-9020f98fa7b5.png)\r\n \r\nI mean, the angular file is pointing to a weird url \"http://localhost:9000/file:/home/cristiano/www/loopback/vcsoft/client/jspm_packages/github/angular/bower-angular@1.3.15/angular.js\" (the base path of the app in file system is /home/cristiano/www/loopback/vcsoft/client) and when I look at the network tab of the dev tools I can't see a call to this file\r\n![screenshot from 2015-05-24 11 45 12](https://cloud.githubusercontent.com/assets/2938621/7788275/706e3698-020a-11e5-8fbd-29455b4bc3f7.png)\r\n\r\nwhen I open the page in firefox, I get a different error\r\n![screenshot from 2015-05-24 11 47 05](https://cloud.githubusercontent.com/assets/2938621/7788282/c5cae23a-020a-11e5-9371-370c35100361.png)\r\n\r\nCan anyone to understand what is happening here?"},"comment":{"url":"https://api.github.com/repos/lookfirst/systemjs-seed/issues/comments/138098696","html_url":"https://github.com/lookfirst/systemjs-seed/issues/5#issuecomment-138098696","issue_url":"https://api.github.com/repos/lookfirst/systemjs-seed/issues/5","id":138098696,"user":{"login":"DominicBoettger","id":662196,"avatar_url":"https://avatars.githubusercontent.com/u/662196?v=3","gravatar_id":"","url":"https://api.github.com/users/DominicBoettger","html_url":"https://github.com/DominicBoettger","followers_url":"https://api.github.com/users/DominicBoettger/followers","following_url":"https://api.github.com/users/DominicBoettger/following{/other_user}","gists_url":"https://api.github.com/users/DominicBoettger/gists{/gist_id}","starred_url":"https://api.github.com/users/DominicBoettger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DominicBoettger/subscriptions","organizations_url":"https://api.github.com/users/DominicBoettger/orgs","repos_url":"https://api.github.com/users/DominicBoettger/repos","events_url":"https://api.github.com/users/DominicBoettger/events{/privacy}","received_events_url":"https://api.github.com/users/DominicBoettger/received_events","type":"User","site_admin":false},"created_at":"2015-09-06T16:45:38Z","updated_at":"2015-09-06T16:45:38Z","body":"Hi,\r\n\r\ni removed route-bundler and migrated gulp to es6 (+gulp version upgrade + systemjs update). Everything seems to work except creating the depcache fails.\r\n\r\n```\r\nwarn jspm_packages must be specified in the package.json within the baseURL for paths to resolve correctly.\r\n     Injecting the traced dependency tree for app/app...\r\n\r\nerr  Error: ENOENT, open '/Users/dominic.boettger/Development/jspm_packages/github/angular/bower-angular@1.3.15.js'\r\n         at Error (native)\r\n\r\n````\r\nThe corect path for jspm_packages is /Users/dominic.boettger/Development/myproject/jspm_packages.\r\n\r\npackage.json jspm config\r\n```\r\n  \"jspm\": {\r\n    \"directories\": {\r\n      \"baseURL\": \"dist\",\r\n      \"lib\": \"src\",\r\n      \"packages\": \"jspm_packages\"\r\n    },\r\n    \"configFile\": \"system.config.js\",\r\n```\r\n\r\nSystem.config.js path config\r\n\r\n```\r\n  baseURL: \".\",\r\n  defaultJSExtensions: true,\r\n  transpiler: \"babel\",\r\n  babelOptions: {\r\n    \"optional\": [\r\n      \"runtime\"\r\n    ]\r\n  },\r\n  paths: {\r\n    \"github:*\": \"jspm_packages/github/*\",\r\n    \"npm:*\": \"jspm_packages/npm/*\"\r\n  },\r\n```\r\n\r\nAny ideas why this fails? I tried different path combinations, but it always fails.\r\n\r\nHope somebody is able to help me.\r\n\r\nThanks a lot!\r\n\r\nBest regards\r\nDominic"}}