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 have a package that uses dnt to build to npm, dnt locally works and pass all the tests
But If import the published package it fails with
error: Uncaught (in promise) Error: OpenOptions requires at least one option to be true
at checkOpenOptions (ext:deno_fs/30_fs.js:681:11)
at Object.openSync (ext:deno_fs/30_fs.js:560:16)
at openSync (ext:deno_node/_fs/_fs_open.ts:98:15)
at Object.openSync (file:///home/mrcool/.cache/deno/npm/registry.npmjs.org/@deno/shim-deno/0.16.1/dist/deno/stable/functions/openSync.js:25:38)
at Module.getFromPath (file:///home/mrcool/.cache/deno/npm/registry.npmjs.org/deno-infer/1.0.6/esm/mod.js:56:31)
at file:///home/mrcool/dev/deno/denoseal/main.ts:16:21
I added some debug statements, and openSync in deno shim does pass O_READONLY (which seems to be encoded as 0) to deno_node
I have a package that uses dnt to build to npm, dnt locally works and pass all the tests
But If import the published package it fails with
I added some debug statements, and openSync in deno shim does pass
O_READONLY
(which seems to be encoded as 0) to deno_nodeTo reproduce:
The code for that version is here https://github.com/sigmaSd/deno-infer/tree/80c3c8b4861386701a4b714f8d59ff224577a6a6
The text was updated successfully, but these errors were encountered: