Skip to content

Not working with npx #1

@LightningStalker

Description

@LightningStalker

Here is what happens when I try running with npx as per the instructions:
`$ npx ts-node ./sharpener.ts
⨯ Unable to compile TypeScript:
sharpener.ts(16,41): error TS2345: Argument of type 'true' is not assignable to parameter of type '{ useTArray?: false | undefined; colorTransform?: boolean | undefined; formatAsRGBA?: boolean | undefined; tolerantDecoding?: boolean | undefined; maxResolutionInMP?: number | undefined; maxMemoryUsageInMB?: number | undefined; } | undefined'.

$`
The web server works just fine though and I was able to process QR codes.

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