Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server crash while compiling #1

Open
sabond opened this issue Jul 21, 2019 · 0 comments
Open

Server crash while compiling #1

sabond opened this issue Jul 21, 2019 · 0 comments

Comments

@sabond
Copy link

sabond commented Jul 21, 2019

1st of all, thank you for this article, I've found it extremely helpful learning about sapper, svelte, and graphql. It seems to compile fine until I make additions to the _schema.js. I'm getting the following error:

"sapper-graphql-subscriptions_sapper_\dev\server\server.js:13131
subscribe: async function* asyncRandomNumbers() {
^
SyntaxError: Unexpected token * at createScript (vm.js:80:10)
...
Server crashed"

Any idea what might be causing that?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant