Skip to content

Commit

Permalink
Create alias npm alias to install modules without symlinks (nodeschoo…
Browse files Browse the repository at this point in the history
  • Loading branch information
frakti committed Apr 19, 2015
1 parent 54ba993 commit 9275822
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/packer/scripts/install-nvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ source ~/.nvm/nvm.sh
nvm install 0.12 # for 'shader-school'
nvm install iojs
nvm alias default iojs

# When enabled directory sharing with Windows host you operate on NTFS
# and some modules might not be able to be installed because of symlink
# creation not possible on NTFS.
echo "alias npm='npm --no-bin-links'" >> ~/.bashrc

0 comments on commit 9275822

Please sign in to comment.