vuepress icon indicating copy to clipboard operation
vuepress copied to clipboard

SyntaxError: The requested module 'node:events' does not provide an export named 'addAbortListener'

Open chenkongming opened this issue 1 year ago • 9 comments

  • [ ] I confirm that this is an issue rather than a question.

Bug report

import {addAbortListener} from 'node:events'; ^^^^^^^^^^^^^^^^ SyntaxError: The requested module 'node:events' does not provide an export named 'addAbortListener' at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21) at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)

Steps to reproduce

node v18.17.1 vuepress 2.0.0-rc.9 vuepress-plugin-search-pro 2.0.0-rc.38

What is expected?

What is actually happening?

Other relevant information

  • Output of npx vuepress info in my VuePress project:

chenkongming avatar May 29 '24 02:05 chenkongming