-
Notifications
You must be signed in to change notification settings - Fork 62
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
TypeError: optionDefinitions.flatMap is not a function #41
Comments
Could you check your node version?
Currently bibtex-tidy requires at least v11.15. Could you also let me know your OS and how you installed node? |
I am on Linux Elementary OS 5.1 and it seems that ~$ node -v
v8.10.0 I tried to install it via snap but it didn't work. After some trial, I completely removed node with apt-get purge node and then I installed the latest stable version 16.x from the official repo (instructions for debian/ubuntu distros) doing curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
apt-get install -y nodejs The complete documentation is here https://github.com/nodesource/distributions#debinstall Therefore this solved the issue Thanks |
Thanks for reporting back. Glad you got it working. I'll leave this issue open because bibtex-tidy should give a better error if it's an unsupported node version. |
I installed via
npm
and I get thisI suppose it may be an issue with my java settings, any hint?
The text was updated successfully, but these errors were encountered: