Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

Does not detect Node.JS on Debian or AWS by default #56

Open
benmccann opened this issue Apr 12, 2017 · 0 comments
Open

Does not detect Node.JS on Debian or AWS by default #56

benmccann opened this issue Apr 12, 2017 · 0 comments

Comments

@benmccann
Copy link

We require node to be on the path. See https://github.com/typesafehub/js-engine/blob/master/src/main/scala/com/typesafe/jse/LocalEngine.scala#L69

Apparently Debian calls it nodejs because there's another package named node already. That means we should probably check for nodejs first and prefer it in case the user also has node installed.

I generally don't like installing the version of node that comes with the system package manager and typically prefer nvm

Workaround for these systems: Install nodejs-legacy, which adds symlink /usr/bin/node -> nodejs.

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

No branches or pull requests

1 participant