direct user to npm log when npm install fails, closes #22

This commit is contained in:
Dan Motzenbecker 2015-11-14 17:51:59 -05:00
parent 2aff7344fe
commit df6db60411
1 changed files with 2 additions and 0 deletions

View File

@ -332,6 +332,8 @@ init = (projName, interfaceName) ->
'Watchman is required (https://facebook.github.io/watchman)'
else if message.match /type.+xcodebuild/i
'Xcode Command Line Tools are required'
else if message.match /npm/i
"npm install failed. This may be a network issue. Check #{projNameHyph}/native/npm-debug.log for details."
else
message