{"action":"created","issue":{"url":"https://api.github.com/repos/jspm/jspm-cli/issues/810","labels_url":"https://api.github.com/repos/jspm/jspm-cli/issues/810/labels{/name}","comments_url":"https://api.github.com/repos/jspm/jspm-cli/issues/810/comments","events_url":"https://api.github.com/repos/jspm/jspm-cli/issues/810/events","html_url":"https://github.com/jspm/jspm-cli/issues/810","id":85558820,"number":810,"title":"jspm 0.16.0-beta breaks paths to packages","user":{"login":"mikz","id":154571,"avatar_url":"https://avatars.githubusercontent.com/u/154571?v=3","gravatar_id":"","url":"https://api.github.com/users/mikz","html_url":"https://github.com/mikz","followers_url":"https://api.github.com/users/mikz/followers","following_url":"https://api.github.com/users/mikz/following{/other_user}","gists_url":"https://api.github.com/users/mikz/gists{/gist_id}","starred_url":"https://api.github.com/users/mikz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikz/subscriptions","organizations_url":"https://api.github.com/users/mikz/orgs","repos_url":"https://api.github.com/users/mikz/repos","events_url":"https://api.github.com/users/mikz/events{/privacy}","received_events_url":"https://api.github.com/users/mikz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-05T15:26:46Z","updated_at":"2015-06-08T17:17:15Z","closed_at":"2015-06-05T19:32:59Z","body":"Because it is a Rails application, I'd like to keep packages and app code in two different subfolders.\r\n\r\nI've tried upgrading jspm to beta because of (#809) and found nasty behaviour.\r\n\r\nBefore upgrade:\r\n\r\n```\r\n$  jspm bundle main\r\n     Building the bundle tree for main...\r\n\r\n       greeter.js\r\n       main\r\n       npm:babel-runtime@5.4.7/core-js/object/define-property\r\n       npm:babel-runtime@5.4.7/helpers/class-call-check\r\n       npm:babel-runtime@5.4.7/helpers/create-class\r\n       npm:core-js@0.9.14/library/fn/object/define-property\r\n       npm:core-js@0.9.14/library/modules/$\r\n       npm:core-js@0.9.14/library/modules/$.fw\r\n\r\nok   Built into app/assets/javascripts/build.js with source maps, unminified.\r\n```\r\n\r\n\r\nAfter upgrade:\r\n\r\n```\r\n$ jspm bundle main \r\n     Building the bundle tree for main...\r\n\r\nerr  Error: ENOENT, open '/Users/mikz/Developer/3scale/jspm/app/assets/javascripts/main'\r\n         at Error (native)\r\n```\r\n\r\n```\r\n$ pwd\r\n/Users/mikz/Developer/3scale/jspm\r\n$ node --version\r\nv0.12.4\r\n```\r\n\r\nYou can see config.js and package.json in https://github.com/mikz/rails-jspm-es6-example/tree/jspm-beta\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jspm/jspm-cli/issues/comments/110080523","html_url":"https://github.com/jspm/jspm-cli/issues/810#issuecomment-110080523","issue_url":"https://api.github.com/repos/jspm/jspm-cli/issues/810","id":110080523,"user":{"login":"mikz","id":154571,"avatar_url":"https://avatars.githubusercontent.com/u/154571?v=3","gravatar_id":"","url":"https://api.github.com/users/mikz","html_url":"https://github.com/mikz","followers_url":"https://api.github.com/users/mikz/followers","following_url":"https://api.github.com/users/mikz/following{/other_user}","gists_url":"https://api.github.com/users/mikz/gists{/gist_id}","starred_url":"https://api.github.com/users/mikz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikz/subscriptions","organizations_url":"https://api.github.com/users/mikz/orgs","repos_url":"https://api.github.com/users/mikz/repos","events_url":"https://api.github.com/users/mikz/events{/privacy}","received_events_url":"https://api.github.com/users/mikz/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T17:17:15Z","updated_at":"2015-06-08T17:17:15Z","body":"@guybedford but in Rails Asset Pipeline the path on filesystem does not reflect the path in the browser. \r\n\r\nRails combines all files from `app/assets/javascripts/` and `vendor/assets/javascripts/` and other configurable paths and serves them in the browser prefixed with `/assets/`.\r\n\r\nBut that can easily happen with any other setup where path on the filesystem does not match the path in the browser. For example if I have `public/assets/file.js` and a server serving contents of `public` the path in the browser will be `/assets/file.js` but in the console `public/assets/file.js`."}}