Skip to content
This repository has been archived by the owner on May 31, 2020. It is now read-only.

Add recommentation to use nodeenv to install node #752

Closed
wants to merge 1 commit into from

Conversation

shaib
Copy link
Contributor

@shaib shaib commented May 26, 2018

This is my preferred way of having node.js in a Python project, so I'm suggesting it.

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

@@ -52,8 +52,17 @@ Install Node.JS
^^^^^^^^^^^^^^^

Lastly, you'll need to install `Node.js`_. You need to have a recent version
of Node; we test using v6.9.1. Once you've installed node, you can use it to
install Batavia's JavaScript dependencies, and compile the Batavia library:
of Node; we test using v6.9.1. One civilized way to get an isolated Node.js
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"civilized" is a little pejorative; also, if we're going to make the recommendation, the docs should commit to it - "We suggest using nodeenv", rather than "one way is to...".

Should we also add the --node=6.9.1 flag to ensure the right version is available?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a hard time committing to this suggestion, because my experience with node.js is rather limited. I agree to a less opinionated phrasing, we can drop "civilized".

With respect to the node version -- adding a specific one sounds like a good idea, but I've been working with the default (latest, currently v10.2.1) and there don't seem to be issues. Should we perhaps update?

@rayrrr
Copy link

rayrrr commented Jul 26, 2018

I just evaluated nodeenv and nodenv while getting set up to run Batavia locally and decided on the latter. Any strong reasons to choose the former instead? I'm happy so far.

@phildini
Copy link
Member

Hi there! It looks like this PR might be dead, so we're closing it for now. Feel free to re-open it if you'd like to continue, or think about directing your efforts to https://github.com/beeware/briefcase or https://github.com/beeware/toga. Both of these have more active development right now. 😄

@phildini phildini closed this Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants