-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SyntaxError: The requested module 'node:events' does not provide an export named 'addAbortListener' #3218
Comments
I had the same problem, but solved by using the latest node.js version. I was using 18 which didn't work. |
same issue in Node.js v20.3.0 |
Which Node version do I need to install for this to work? 20.16.0 does not work. |
It did not work for me using node v18.17 - worked fine with v20.14 |
It did not work for me using node v18.17 - worked fine with v22.12 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
npx vuepress info
in my VuePress project:The text was updated successfully, but these errors were encountered: