{"action":"created","issue":{"url":"https://api.github.com/repos/matyunya/svelte-image/issues/21","repository_url":"https://api.github.com/repos/matyunya/svelte-image","labels_url":"https://api.github.com/repos/matyunya/svelte-image/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/matyunya/svelte-image/issues/21/comments","events_url":"https://api.github.com/repos/matyunya/svelte-image/issues/21/events","html_url":"https://github.com/matyunya/svelte-image/issues/21","id":504695805,"node_id":"MDU6SXNzdWU1MDQ2OTU4MDU=","number":21,"title":"does this work with Sapper / in SSR? I get a 500 error","user":{"login":"skdigital","id":14062625,"node_id":"MDQ6VXNlcjE0MDYyNjI1","avatar_url":"https://avatars3.githubusercontent.com/u/14062625?v=4","gravatar_id":"","url":"https://api.github.com/users/skdigital","html_url":"https://github.com/skdigital","followers_url":"https://api.github.com/users/skdigital/followers","following_url":"https://api.github.com/users/skdigital/following{/other_user}","gists_url":"https://api.github.com/users/skdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/skdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skdigital/subscriptions","organizations_url":"https://api.github.com/users/skdigital/orgs","repos_url":"https://api.github.com/users/skdigital/repos","events_url":"https://api.github.com/users/skdigital/events{/privacy}","received_events_url":"https://api.github.com/users/skdigital/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-10-09T14:38:12Z","updated_at":"2019-10-21T21:55:53Z","closed_at":null,"author_association":"NONE","body":"I followed the instructions but I get a stack trace 500 error.\r\n\r\nStacktrace\r\n```\r\n500\r\n<Image> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules\r\n\r\nError: <Image> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules\r\n    at validate_component (C:\\Users\\sean\\dev\\clients\\ucp-group\\site-ucpgroup-sapper__sapper\\dev\\server\\server.js:213:15)\r\n    at C:\\Users\\sean\\dev\\clients\\ucp-group\\site-ucpgroup-sapper__sapper\\dev\\server\\server.js:267:8\r\n    at Object.$$render (C:\\Users\\sean\\dev\\clients\\ucp-group\\site-ucpgroup-sapper__sapper\\dev\\server\\server.js:231:22)\r\n    at C:\\Users\\sean\\dev\\clients\\ucp-group\\site-ucpgroup-sapper__sapper\\dev\\server\\server.js:329:49\r\n    at Object.$$render (C:\\Users\\sean\\dev\\clients\\ucp-group\\site-ucpgroup-sapper__sapper\\dev\\server\\server.js:231:22)\r\n    at Object.default (C:\\Users\\sean\\dev\\clients\\ucp-group\\site-ucpgroup-sapper__sapper\\dev\\server\\server.js:770:204)\r\n    at C:\\Users\\sean\\dev\\clients\\ucp-group\\site-ucpgroup-sapper__sapper\\dev\\server\\server.js:557:39\r\n    at Object.$$render (C:\\Users\\sean\\dev\\clients\\ucp-group\\site-ucpgroup-sapper__sapper\\dev\\server\\server.js:231:22)\r\n    at C:\\Users\\sean\\dev\\clients\\ucp-group\\site-ucpgroup-sapper__sapper\\dev\\server\\server.js:768:43\r\n    at $$render (C:\\Users\\sean\\dev\\clients\\ucp-group\\site-ucpgroup-sapper__sapper\\dev\\server\\server.js:231:22)\r\n```\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/matyunya/svelte-image/issues/comments/544724909","html_url":"https://github.com/matyunya/svelte-image/issues/21#issuecomment-544724909","issue_url":"https://api.github.com/repos/matyunya/svelte-image/issues/21","id":544724909,"node_id":"MDEyOklzc3VlQ29tbWVudDU0NDcyNDkwOQ==","user":{"login":"skdigital","id":14062625,"node_id":"MDQ6VXNlcjE0MDYyNjI1","avatar_url":"https://avatars3.githubusercontent.com/u/14062625?v=4","gravatar_id":"","url":"https://api.github.com/users/skdigital","html_url":"https://github.com/skdigital","followers_url":"https://api.github.com/users/skdigital/followers","following_url":"https://api.github.com/users/skdigital/following{/other_user}","gists_url":"https://api.github.com/users/skdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/skdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skdigital/subscriptions","organizations_url":"https://api.github.com/users/skdigital/orgs","repos_url":"https://api.github.com/users/skdigital/repos","events_url":"https://api.github.com/users/skdigital/events{/privacy}","received_events_url":"https://api.github.com/users/skdigital/received_events","type":"User","site_admin":false},"created_at":"2019-10-21T21:55:53Z","updated_at":"2019-10-21T21:55:53Z","author_association":"NONE","body":"Seems like I am getting the 500 error by using the Image component in Sapper, can the Image component be used with Sapper if so what am I doing wrong?\r\n\r\n```\r\nError: &lt;Image&gt; is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules\r\n```"}}
{"actor":{"display_login":"skdigital"}}