atian25/yuque-exporter

导入有错import { parseArgs } from 'util';

Closed this issue · 1 comments

# npx yuque-exporter --token=my_token
file:///usr/local/lib/node_modules/yuque-exporter/dist/bin/cli.js:3
import { parseArgs }  from 'util';
         ^^^^^^^^^
SyntaxError: The requested module 'util' does not provide an export named 'parseArgs'
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:128:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:194:5)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:385:24)
    at async loadESM (node:internal/process/esm_loader:88:5)
    at async handleMainPromise (node:internal/modules/run_main:61:12)

请问这个如何解决?

16.18.1