Skip to content

Server crash while compiling #1

Description

@sabond

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions