Make /usr/bin/node available so shebang works

Asked by Richard

1. Node scrips launch using #!/usr/bin/env node, this does not work with the 13.10 nodejs package
- the 'node' command needs to launch Node.js
- update-alternatives or similar function can be used to distinguish from that other node package.

2. Node.js is not useful without npm. It is outdated to have separate packages.
- Installing the main package should install both.
- some sub-package could exist for the unlikely desire to run node without npm.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu nodejs Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

Status changed to 'Confirmed' because the bug affects multiple users.

Revision history for this message
Ma Hsiao-chun (mahsiaochun) said :
#2

Install "nodejs-legacy" package.

Can you help with this problem?

Provide an answer of your own, or ask Richard for more information if necessary.

To post a message you must log in.