{"action":"created","issue":{"url":"https://api.github.com/repos/nuxt/nuxt.js/issues/4025","repository_url":"https://api.github.com/repos/nuxt/nuxt.js","labels_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/4025/labels{/name}","comments_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/4025/comments","events_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/4025/events","html_url":"https://github.com/nuxt/nuxt.js/issues/4025","id":365498716,"node_id":"MDU6SXNzdWUzNjU0OTg3MTY=","number":4025,"title":"NuxtServerError: Cannot stringify a function","user":{"login":"pimlie","id":1067403,"node_id":"MDQ6VXNlcjEwNjc0MDM=","avatar_url":"https://avatars3.githubusercontent.com/u/1067403?v=4","gravatar_id":"","url":"https://api.github.com/users/pimlie","html_url":"https://github.com/pimlie","followers_url":"https://api.github.com/users/pimlie/followers","following_url":"https://api.github.com/users/pimlie/following{/other_user}","gists_url":"https://api.github.com/users/pimlie/gists{/gist_id}","starred_url":"https://api.github.com/users/pimlie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pimlie/subscriptions","organizations_url":"https://api.github.com/users/pimlie/orgs","repos_url":"https://api.github.com/users/pimlie/repos","events_url":"https://api.github.com/users/pimlie/events{/privacy}","received_events_url":"https://api.github.com/users/pimlie/received_events","type":"User","site_admin":false},"labels":[{"id":882702378,"node_id":"MDU6TGFiZWw4ODI3MDIzNzg=","url":"https://api.github.com/repos/nuxt/nuxt.js/labels/cmty:bug-report","name":"cmty:bug-report","color":"f7b2c0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-01T14:50:36Z","updated_at":"2018-10-01T15:00:45Z","closed_at":"2018-10-01T15:00:45Z","author_association":"CONTRIBUTOR","body":"### Version\n\n[v2.1.0](https://github.com/nuxt.js/releases/tag/v2.1.0)\n\n### Reproduction link\n\n[https://github.com/pimlie/nuxt-issues](https://github.com/pimlie/nuxt-issues)\n\n### Steps to reproduce\n\nclone repro & run yarn dev & browse to http://localhost:3000\n\n### What is expected ?\n\nA page that says hello is displayed\n\n### What is actually happening?\n\nAn error 'NuxtServerError: Cannot stringify a function' occures\n\n### Additional comments?\n\nThis is due to #3913, `serialize` could serialize functions but `devalue` cant. Although I can fix my project to not return a method, this is actually a breaking change.\n\n<!--cmty--><!--cmty_prevent_hook-->\n<div align=\"right\"><sub><em>This bug report is available on <a href=\"https://cmty.app/nuxt\">Nuxt</a> community (<a href=\"https://cmty.app/nuxt/nuxt.js/issues/c7880\">#c7880</a>)</em></sub></div>"},"comment":{"url":"https://api.github.com/repos/nuxt/nuxt.js/issues/comments/425940198","html_url":"https://github.com/nuxt/nuxt.js/issues/4025#issuecomment-425940198","issue_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/4025","id":425940198,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTk0MDE5OA==","user":{"login":"pimlie","id":1067403,"node_id":"MDQ6VXNlcjEwNjc0MDM=","avatar_url":"https://avatars3.githubusercontent.com/u/1067403?v=4","gravatar_id":"","url":"https://api.github.com/users/pimlie","html_url":"https://github.com/pimlie","followers_url":"https://api.github.com/users/pimlie/followers","following_url":"https://api.github.com/users/pimlie/following{/other_user}","gists_url":"https://api.github.com/users/pimlie/gists{/gist_id}","starred_url":"https://api.github.com/users/pimlie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pimlie/subscriptions","organizations_url":"https://api.github.com/users/pimlie/orgs","repos_url":"https://api.github.com/users/pimlie/repos","events_url":"https://api.github.com/users/pimlie/events{/privacy}","received_events_url":"https://api.github.com/users/pimlie/received_events","type":"User","site_admin":false},"created_at":"2018-10-01T15:00:45Z","updated_at":"2018-10-01T15:00:45Z","author_association":"CONTRIBUTOR","body":"This is not store, but asyncData. Anyway, will regard as a feature then ;)"}}
{"actor":{"display_login":"pimlie"}}