{"action":"created","issue":{"url":"https://api.github.com/repos/mean-expert-official/loopback-sdk-builder/issues/152","repository_url":"https://api.github.com/repos/mean-expert-official/loopback-sdk-builder","labels_url":"https://api.github.com/repos/mean-expert-official/loopback-sdk-builder/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/mean-expert-official/loopback-sdk-builder/issues/152/comments","events_url":"https://api.github.com/repos/mean-expert-official/loopback-sdk-builder/issues/152/events","html_url":"https://github.com/mean-expert-official/loopback-sdk-builder/issues/152","id":183385578,"number":152,"title":"New Build throw error with systemjs : app/shared/sdk/models.js 404","user":{"login":"jeansaigne","id":6126289,"avatar_url":"https://avatars.githubusercontent.com/u/6126289?v=3","gravatar_id":"","url":"https://api.github.com/users/jeansaigne","html_url":"https://github.com/jeansaigne","followers_url":"https://api.github.com/users/jeansaigne/followers","following_url":"https://api.github.com/users/jeansaigne/following{/other_user}","gists_url":"https://api.github.com/users/jeansaigne/gists{/gist_id}","starred_url":"https://api.github.com/users/jeansaigne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeansaigne/subscriptions","organizations_url":"https://api.github.com/users/jeansaigne/orgs","repos_url":"https://api.github.com/users/jeansaigne/repos","events_url":"https://api.github.com/users/jeansaigne/events{/privacy}","received_events_url":"https://api.github.com/users/jeansaigne/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mean-expert-official/loopback-sdk-builder/labels/2.1.0-beta.11","name":"2.1.0-beta.11","color":"1d76db"},{"url":"https://api.github.com/repos/mean-expert-official/loopback-sdk-builder/labels/bug","name":"bug","color":"ee0701"}],"state":"closed","locked":false,"assignee":{"login":"jonathan-casarrubias","id":1533239,"avatar_url":"https://avatars.githubusercontent.com/u/1533239?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathan-casarrubias","html_url":"https://github.com/jonathan-casarrubias","followers_url":"https://api.github.com/users/jonathan-casarrubias/followers","following_url":"https://api.github.com/users/jonathan-casarrubias/following{/other_user}","gists_url":"https://api.github.com/users/jonathan-casarrubias/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathan-casarrubias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathan-casarrubias/subscriptions","organizations_url":"https://api.github.com/users/jonathan-casarrubias/orgs","repos_url":"https://api.github.com/users/jonathan-casarrubias/repos","events_url":"https://api.github.com/users/jonathan-casarrubias/events{/privacy}","received_events_url":"https://api.github.com/users/jonathan-casarrubias/received_events","type":"User","site_admin":false},"assignees":[{"login":"jonathan-casarrubias","id":1533239,"avatar_url":"https://avatars.githubusercontent.com/u/1533239?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathan-casarrubias","html_url":"https://github.com/jonathan-casarrubias","followers_url":"https://api.github.com/users/jonathan-casarrubias/followers","following_url":"https://api.github.com/users/jonathan-casarrubias/following{/other_user}","gists_url":"https://api.github.com/users/jonathan-casarrubias/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathan-casarrubias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathan-casarrubias/subscriptions","organizations_url":"https://api.github.com/users/jonathan-casarrubias/orgs","repos_url":"https://api.github.com/users/jonathan-casarrubias/repos","events_url":"https://api.github.com/users/jonathan-casarrubias/events{/privacy}","received_events_url":"https://api.github.com/users/jonathan-casarrubias/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/mean-expert-official/loopback-sdk-builder/milestones/16","html_url":"https://github.com/mean-expert-official/loopback-sdk-builder/milestones/2.1.0-beta.11","labels_url":"https://api.github.com/repos/mean-expert-official/loopback-sdk-builder/milestones/16/labels","id":2077308,"number":16,"title":"2.1.0-beta.11","description":"","creator":{"login":"jonathan-casarrubias","id":1533239,"avatar_url":"https://avatars.githubusercontent.com/u/1533239?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathan-casarrubias","html_url":"https://github.com/jonathan-casarrubias","followers_url":"https://api.github.com/users/jonathan-casarrubias/followers","following_url":"https://api.github.com/users/jonathan-casarrubias/following{/other_user}","gists_url":"https://api.github.com/users/jonathan-casarrubias/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathan-casarrubias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathan-casarrubias/subscriptions","organizations_url":"https://api.github.com/users/jonathan-casarrubias/orgs","repos_url":"https://api.github.com/users/jonathan-casarrubias/repos","events_url":"https://api.github.com/users/jonathan-casarrubias/events{/privacy}","received_events_url":"https://api.github.com/users/jonathan-casarrubias/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":10,"state":"open","created_at":"2016-10-18T14:06:56Z","updated_at":"2016-10-18T21:20:25Z","due_on":null,"closed_at":null},"comments":14,"created_at":"2016-10-17T10:58:11Z","updated_at":"2016-10-18T21:23:12Z","closed_at":"2016-10-18T21:20:24Z","body":"Hi guys,\r\nfirst thank you for the work you've been doing.\r\n\r\nI'm trying to make this magic happen for an Angular2 application, it's developed from the angular tutorial a week ago; now my LoopBack API application is ready , i followed the instructions to build the SDK in the shared folder (app/shared/sdk). The SDK is successfully created as i can see, but when i simply try to use it in my **app.module.ts** like below (as it's exposed in the wiki documentation):\r\n\r\n`import { SDKModule } from './shared/sdk/index';`\r\n\r\nand\r\n\r\n```\r\n@NgModule({\r\n    imports:      [ BrowserModule, FormsModule, HttpModule, routing, Ng2BootstrapModule, SDKModule.forRoot() ],\r\n    declarations: [ AppComponent],\r\n    providers: [ ],\r\n    bootstrap:    [ AppComponent]\r\n})\r\n```\r\n\r\nIt raises 2 errors i don't understand in console:\r\n\r\n`zone.js:1274 GET http://localhost:3001/app/shared/sdk/models.js 404 (Not Found)`\r\nand\r\n`zone.js:1274 GET http://localhost:3001/socket.io-client 404 (Not Found)`\r\n\r\nAll i did for now is building the SDK and importing the **SDKModule**. I feel like a systemjs misunderstanding from my part but not sure. Hope you'll be able to help.\r\n\r\nThank you by advance. \r\n"},"comment":{"url":"https://api.github.com/repos/mean-expert-official/loopback-sdk-builder/issues/comments/254643492","html_url":"https://github.com/mean-expert-official/loopback-sdk-builder/issues/152#issuecomment-254643492","issue_url":"https://api.github.com/repos/mean-expert-official/loopback-sdk-builder/issues/152","id":254643492,"user":{"login":"jonathan-casarrubias","id":1533239,"avatar_url":"https://avatars.githubusercontent.com/u/1533239?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathan-casarrubias","html_url":"https://github.com/jonathan-casarrubias","followers_url":"https://api.github.com/users/jonathan-casarrubias/followers","following_url":"https://api.github.com/users/jonathan-casarrubias/following{/other_user}","gists_url":"https://api.github.com/users/jonathan-casarrubias/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathan-casarrubias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathan-casarrubias/subscriptions","organizations_url":"https://api.github.com/users/jonathan-casarrubias/orgs","repos_url":"https://api.github.com/users/jonathan-casarrubias/repos","events_url":"https://api.github.com/users/jonathan-casarrubias/events{/privacy}","received_events_url":"https://api.github.com/users/jonathan-casarrubias/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T21:23:11Z","updated_at":"2016-10-18T21:23:11Z","body":"Fixed"}}
{"actor":{"display_login":"jonathan-casarrubias"}}