Check for node and nodejs when running setup.py develop.
Review Request #8511 — Created Oct. 31, 2016 and submitted
If node isn't installed,
setup.py develop
will fail part-way through
the installation process. However, if it's installed but asnodejs
(such as on Ubuntu), it will all work correctly until you go to run
Review Board, at which point it will fail confusingly when it fails to
findnode
in the path.We now check for both
node
andnodejs
, and provide appropriate error
messages depending on what we find or don't find.
Tested with
node
in the path and without.Tested without
node
in the path but with and withoutnodejs
in the
path.Saw the expected behavior in all cases.
Description | From | Last Updated |
---|---|---|
This second sentence is a little confusing. |
david |
- Change Summary:
-
Removed an exception case I was using for testing only.
- Commit:
-
0c424905b2a7df6cf1d8c5ddeefe9ad2496b855d1a4054ac6f2a809bfcef7ad892f29dce308248fb
- Diff:
-
Revision 2 (+20 -1)
- Commit:
-
1a4054ac6f2a809bfcef7ad892f29dce308248fb0ee16b5ce653247c4985aeeea04af7aef6208e5b
- Diff:
-
Revision 3 (+21 -1)