Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with npx #1

Open
LightningStalker opened this issue Jul 19, 2023 · 0 comments
Open

Not working with npx #1

LightningStalker opened this issue Jul 19, 2023 · 0 comments

Comments

@LightningStalker
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant