Skip to content

kit ... --mode library does not work with *rebass* #204

Open
@ryuheechul

Description

@ryuheechul

I did typed commands below
$ kit init # and chose rebass
$ kit examples --mode library

and the results are below

 kit  @compositor/kit-cli
 kit  ⠦ starting dev server...✖ 「wdm」: 
ERROR in /usr/local/lib/node_modules/@compositor/kit-cli/src/Library.js 19:6
Module parse failed: Unexpected token (19:6)
You may need an appropriate loader to handle this file type.
| 
|     return (
>       <Library {...props} examples={examples} />
|     )
|   }
 @ /usr/local/lib/node_modules/@compositor/kit-cli/node_modules/@compositor/x0/lib/entry.js 217:48-60 217:72-84
 @ multi /usr/local/lib/node_modules/@compositor/kit-cli/node_modules/@compositor/x0/lib/entry
 kit  dev server listening on http://localhost:8080 (copied to clipboard)

and the web page is showing nothing

my env: node.js - 10.5.0, kit - 1.0.47

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