Compilation fails with deno@v1.5.x
See original GitHub issueSummary
When trying to use deno-mysql@v2.5.0 from deno@v1.5.1, compilation fails with the following message:
error: TS1205 [ERROR]: Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'.
export { LogLevels, LevelName } from "./levels.ts";
~~~~~~~~~
at https://deno.land/std@0.63.0/log/mod.ts:13:21
TS1205 [ERROR]: Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'.
Deferred,
~~~~~~~~
at https://deno.land/x/mysql@v2.5.0/deps.ts:3:3
TS1205 [ERROR]: Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'.
export { Client, ClientConfig } from "./src/client.ts";
~~~~~~~~~~~~
at https://deno.land/x/mysql@v2.5.0/mod.ts:1:18
Found 3 errors.
Steps to reproduce
// sample.ts
import { Client } from "https://deno.land/x/mysql@v2.5.0/mod.ts";
const client = new Client();
client.connect({
hostname: "localhost",
port: 3306,
username: "test",
db: "test",
password: "test",
});
console.log(await client.query(`SELECT 1`));
await client.close();
$ deno run --allow-net ./sample.ts
Environment
$ deno --version
deno 1.5.1
v8 8.7.220.3
typescript 4.0.3
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
tiered WebAssembly compilation broken · Issue #36616 - GitHub
WebAssembly module becomes available shortly while optimised compiler continues in the background. Works as expected in interactive mode ( node ...
Read more >Android 5.0 Lollipop Release Discussion | Page 132 | XDA Forums
FAILED (data transfer failure (No such file or directory)) any help appreciated thanks! ... Gravity box too. Sent from my Nexus 5 using...
Read more >SENATE - U.S. Government Publishing Office
By Mr. ERVIN ·(for himself and Mr. BUTLER):. S. 1070. A bill to recodify, with certain amendments thereto, chapter 19 of title 5...
Read more >Let's Learn Deno. The newest kid in town | by Sahan Amarsha
In this Medium post let's dive into Deno. We all know Node.js and simply we love it. We use that as a JavaScript...
Read more >denver museum of nature & science reports
This congress is jointly hosted by the International Society of ... 5. Arachnid Collecting. ... submissions for the proceedings issue (details below).
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@lideming Nice guy, thanks for your quickly response.
Run
it’s work for me!
I just released a new version 😄