defuddle-cli icon indicating copy to clipboard operation
defuddle-cli copied to clipboard

cannot make it work

Open fabge opened this issue 1 year ago • 1 comments

when trying parse a link, the cli errors

defuddle parse https://www.kalzumeus.com/2014/11/07/doing-business-in-japan/ --md
file:///Users/fabian/.local/share/mise/installs/node/22.14.0/lib/node_modules/defuddle-cli/dist/index.js:674
globalThis.navigator = window.navigator;
                     ^

TypeError: Cannot set property navigator of #<Object> which has only a getter
    at file:///Users/fabian/.local/share/mise/installs/node/22.14.0/lib/node_modules/defuddle-cli/dist/index.js:674:22
    at ModuleJob.run (node:internal/modules/esm/module_job:271:25)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26)
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)

Node.js v22.14.0

fabge avatar Mar 25 '25 06:03 fabge

Fixed via #3

kepano avatar Mar 25 '25 13:03 kepano