You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use deno-postgres with now-deno as this example. But this doesn't deploy to now with the following build time error.
...
2020-02-13T16:22:18.209Z Download https://deno.land/x/[email protected]/md5.ts
2020-02-13T16:22:18.209Z Download https://deno.land/x/postgres/encode.ts
2020-02-13T16:22:18.209Z Download https://deno.land/x/postgres/decode.ts
2020-02-13T16:22:18.209Z Download https://deno.land/x/postgres/oid.ts
2020-02-13T16:22:18.209Z Download https://deno.land/x/postgres/deferred.ts
2020-02-13T16:22:18.209Z
2020-02-13T16:22:18.209Z error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'esnext' or 'system'.
2020-02-13T16:22:18.210Z
2020-02-13T16:22:18.210Z ► https://deno.land/[email protected]/testing/runner.ts:294:5
2020-02-13T16:22:18.210Z
2020-02-13T16:22:18.210Z 294 if (import.meta.main) {
2020-02-13T16:22:18.210Z ~~~~~~~~~~~
2020-02-13T16:22:18.210Z
2020-02-13T16:22:18.210Z
2020-02-13T16:22:18.210Z at buildDenoLambda (/zeit/82db6065a0e33879/.build-utils/.builder/node_modules/now-deno/dist/index.js:63:15)
2020-02-13T16:22:18.210Z at runMicrotasks (<anonymous>)
2020-02-13T16:22:18.210Z at processTicksAndRejections (internal/process/task_queues.js:93:5)
2020-02-13T16:22:18.270Z worker exited with code 20 and signal null
2020-02-13T16:22:20.560Z Done with "api/read.ts"
The text was updated successfully, but these errors were encountered:
This issue looks the same as denoland/deno#2553, and the issue is already resolved at master of deno very recently. This must be fixed with the next release of deno.
I'm trying to use deno-postgres with now-deno as this example. But this doesn't deploy to now with the following build time error.
The text was updated successfully, but these errors were encountered: