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

[BUG] installation fails for Ubuntu 16.04 #3595

Closed
1 task done
ouboub opened this issue Jul 30, 2021 · 4 comments
Closed
1 task done

[BUG] installation fails for Ubuntu 16.04 #3595

ouboub opened this issue Jul 30, 2021 · 4 comments
Labels
Bug thing that needs fixing

Comments

@ouboub
Copy link

ouboub commented Jul 30, 2021

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Running
npm install mathjax-node-cli
results in Error: Missing required argument #1
log attached

npm-debug.log

Expected Behavior

installation should succeed.

Steps To Reproduce

  1. In this environment...
  2. With this config...
  3. Run '...'
  4. See error...

Environment

  • OS: Ubuntu 16.04
  • Node: 4.2.6
  • npm: 3.5.2
@ouboub ouboub added Bug thing that needs fixing Needs Triage needs review for next steps Release 7.x work is associated with a specific npm 7 release labels Jul 30, 2021
@ljharb
Copy link
Contributor

ljharb commented Jul 30, 2021

Both node 4 and npm 3 are incredibly ancient and unsupported. Upgrade to npm 6, or upgrade to node 12+ and npm 7.

@ljharb ljharb removed Needs Triage needs review for next steps Release 7.x work is associated with a specific npm 7 release labels Jul 30, 2021
@ouboub
Copy link
Author

ouboub commented Jul 30, 2021

ok, I did (following https://stackoverflow.com/questions/41195952/updating-nodejs-on-ubuntu-16-04)
sudo npm install -g n
sudo n latest
that part worked. Then I run again
`npm install mathjax-node-cli
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see request/request#3142
npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
npm WARN deprecated request@2.88.2: request has been deprecated, see request/request#3142

added 175 packages, and audited 176 packages in 31s

5 packages are looking for funding
run npm fund for details

found 0 vulnerabilities
npm notice
npm notice New minor version of npm available! 7.19.1 -> 7.20.3
npm notice Changelog: https://github.com/npm/cli/releases/tag/v7.20.3
npm notice Run npm install -g npm@7.20.3 to update!

I am not sure now: did the installation succeed?`

@ljharb
Copy link
Contributor

ljharb commented Jul 30, 2021

Yes, seems like it worked fine.

@ouboub
Copy link
Author

ouboub commented Jul 30, 2021

Right, thanks

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

No branches or pull requests

2 participants