Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

looks like npm root is all over the place

  • Loading branch information...
commit 07843d331828fb736f1ed3e438a7d083e07b8240 1 parent 8041489
@olegp authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/common-node
View
2  bin/common-node
@@ -1,6 +1,6 @@
#!/bin/bash
if [ ! -n "$NODE_PATH" ]; then
- NODE_PATH="/usr/local/lib/node_modules"
+ NODE_PATH="$(npm root -g)"
fi
COMMON_PATH="$NODE_PATH/common-node/lib/"
export NODE_PATH="$NODE_PATH:$COMMON_PATH"
Please sign in to comment.
Something went wrong with that request. Please try again.