Skip to content

Support yarn v2 #4

Closed
Closed
@h4x3rotab

Description

@h4x3rotab

If I follow the official yarn v2 installation guide, I will end up with the following error:

root@c095c9f88cfd:~/project# yarn devphase --help
/root/project/devphase.config.ts:3
import { ConfigOption } from 'devphase';
^^^^^^

SyntaxError: Cannot use import statement outside a module

However if I rollback to yarn v1, everything works well.

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