Skip to content

Untraceable error using stylus and pug #447

Closed
@eden-omb

Description

@eden-omb

Describe the bug
I'm trying to convert the default SvelteKit demo project to use stylus and pug and get an untraceable error. I may very well be missing something stupid in my translation to stylus and/or pug, but the error being untraceable seems reason enough to report it here; that being said if I'm just doing something stupid and you can spot it I'd love to hear about it.

Logs
All I'm getting is:

 Cannot read properties of undefined (reading 'done')

To Reproduce
Clone my example repo demonstrating this issue, run pnpm dev and navigate to /todos.

Expected behavior
For my repo to be equivalent to the demo repo.

Information about your project:
I'm running Ubuntu 21.10 Impish, using Vivaldi (which runs on Chromium). My user agent is 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.113 Safari/537.36'

I'm using a freshly-installed [email protected]; and whichever build system SvelteKit uses, which I'm pretty sure is just Vite.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions