{"action":"created","issue":{"url":"https://api.github.com/repos/jspm/jspm-cli/issues/831","labels_url":"https://api.github.com/repos/jspm/jspm-cli/issues/831/labels{/name}","comments_url":"https://api.github.com/repos/jspm/jspm-cli/issues/831/comments","events_url":"https://api.github.com/repos/jspm/jspm-cli/issues/831/events","html_url":"https://github.com/jspm/jspm-cli/issues/831","id":87567136,"number":831,"title":"Path to match relative (./*) imports","user":{"login":"breandr","id":1882775,"avatar_url":"https://avatars.githubusercontent.com/u/1882775?v=3","gravatar_id":"","url":"https://api.github.com/users/breandr","html_url":"https://github.com/breandr","followers_url":"https://api.github.com/users/breandr/followers","following_url":"https://api.github.com/users/breandr/following{/other_user}","gists_url":"https://api.github.com/users/breandr/gists{/gist_id}","starred_url":"https://api.github.com/users/breandr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breandr/subscriptions","organizations_url":"https://api.github.com/users/breandr/orgs","repos_url":"https://api.github.com/users/breandr/repos","events_url":"https://api.github.com/users/breandr/events{/privacy}","received_events_url":"https://api.github.com/users/breandr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-12T01:30:38Z","updated_at":"2015-06-12T16:43:38Z","closed_at":null,"body":"I've been stuck on this all day. It started with my own imports in the format:\r\n\r\n```\r\n//app/components/method/method.js\r\nimport './method-service';\r\n```\r\n\r\nAnd when running `jspm bundle app/app app-bundle.js`, my system.config path wasn't recognising this with the rule:\r\n\r\n```\r\n\"paths\": {\r\n    \"*\": \"*.js\"\r\n}\r\n```\r\n\r\nSo I changed all my relative imports to, for example:\r\n\r\n```\r\nimport 'app/components/method/method-service';\r\n```\r\n\r\nThis resolved my issue for all of my own code, however, I have a lot of third-party code that is using the \"./\" approach. Do you have any idea why this would be happening? I tried adding rules to paths `\"./*\": \"*.js\"` and `\"./*\": \"./*.js\"` but it still did not pick that up. Any suggestions would be greatly appreciated.\r\n\r\nThis is on a RHEL5 running NodeJS 0.10."},"comment":{"url":"https://api.github.com/repos/jspm/jspm-cli/issues/comments/111552470","html_url":"https://github.com/jspm/jspm-cli/issues/831#issuecomment-111552470","issue_url":"https://api.github.com/repos/jspm/jspm-cli/issues/831","id":111552470,"user":{"login":"guybedford","id":598730,"avatar_url":"https://avatars.githubusercontent.com/u/598730?v=3","gravatar_id":"","url":"https://api.github.com/users/guybedford","html_url":"https://github.com/guybedford","followers_url":"https://api.github.com/users/guybedford/followers","following_url":"https://api.github.com/users/guybedford/following{/other_user}","gists_url":"https://api.github.com/users/guybedford/gists{/gist_id}","starred_url":"https://api.github.com/users/guybedford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guybedford/subscriptions","organizations_url":"https://api.github.com/users/guybedford/orgs","repos_url":"https://api.github.com/users/guybedford/repos","events_url":"https://api.github.com/users/guybedford/events{/privacy}","received_events_url":"https://api.github.com/users/guybedford/received_events","type":"User","site_admin":false},"created_at":"2015-06-12T16:43:38Z","updated_at":"2015-06-12T16:43:38Z","body":"Right, jspm will seek the project package.json from the running directory, perhaps you need to ensure its detecting the package ok here? Did you try running `executor /full/path/to/jspm/jspm.js init` to confirm it's all ok first?"}}