Skip to content
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

Invalid regular expression error in node v8.10.0 #48

Closed
pavanyekabote opened this issue Apr 20, 2021 · 1 comment
Closed

Invalid regular expression error in node v8.10.0 #48

pavanyekabote opened this issue Apr 20, 2021 · 1 comment

Comments

@pavanyekabote
Copy link

In node v8.10.0, it is throwing error for the following line itself.

let pslist = require('ps-list')

Error is : SyntaxError: Invalid regular expression: /^[ \t]*(?\d+)[ \t]+(?\d+)[ \t]+(?\d+)[ \t]+(?\d+.\d+)[ \t]+(?\d+.\d+)[ \t]+/: Invalid group

@sindresorhus
Copy link
Owner

ps-list/package.json

Lines 13 to 15 in 6ba1dc7

"engines": {
"node": ">=10"
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants