question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Introduce a transpile safe check

See original GitHub issue

v. weird error. When using Deno run with --no-check it suddenly doesn’t run anymore.

error: Uncaught SyntaxError: Unexpected token ';'
    _query: Query<ResultType.ARRAY>,
                                   ^
    at <anonymous> (https://raw.githubusercontent.com/denodrivers/postgres/master/client.ts:68:36)

All I could find was this issue: https://github.com/MikaelPorttila/rss/issues/23 https://github.com/denoland/deno/issues/10684

Any idea what’s going wrong?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
Soremwarcommented, Jan 11, 2022

The code that is breaking is running through deno run --no-check, so I’m not sure deno test --no-check will yield the same results

0reactions
Soremwarcommented, Jan 11, 2022

End result:

No-check failure is not gonna be terminal, however it will produce the following output that should make it easy to file an issue in Deno

image

Right now, deno-postgres should be no-check safe when running through deno test --no-check under Deno 1.16.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

5.14 Check and/or transpile - The Internals of Deno - GitBook
This process is called check or transpile. Check or transpile is chosen based on one of the arguments with the run command: --no--check...
Read more >
How to write a transpiler - Strumenta - Federico Tomassetti
A transpiler is a program that can process code in a certain language and generate the corresponding code in another language. Let's see...
Read more >
Enforcing Strict Type Checking in Transpiled TypeScript
I am using TypeScript to write a Node.js module. However, my worry is that my transpiled code is completely unsafe once imported and...
Read more >
7 Must-Know Typescript Transpiled Features | by Jose Granja
Typescript does transpile into Javascript. In your tsconfig configuration file, you can specify which is the target language you want it transpiled to....
Read more >
What do you think about a C transpiler? : r/C_Programming
This transpiler could be used to insert checks for instance bounds ... to achieve memory safety is due to C not having a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found