message: fixed breaking change with npm5
diff: @@ -134,6 +134,9 @@ task 'autorest', 'Runs AutoRest', (done)->
  task 'init', "" ,(done)->
  Fail "YOU MUST HAVE NODEJS VERSION GREATER THAN 6.9.5" if semver.lt( process.versions.node , "6.9.5" )
  + execute "npm -v", (code,stdout,stderr) ->
  + isV5 = stdout.startsWith( "5" )
  +
  if (! test "-d","#{basefolder}/src/autorest-core")
  echo warning "\n#{ error 'NOTE:' } #{ info 'src/autorest-core'} appears to be missing \n fixing with #{ info 'git checkout src/autorest-core'}"
  echo warning " in the future do a #{ info 'gulp clean'} before using #{ info 'git clean'} .\n"
  @@ -142,6 +145,9 @@ task 'init', "" ,(done)->
  return done() if initialized
  global.initialized = true
  # if the node_modules isn't created, do it.
  + if isV5
  + doit = true if (newer "#{basefolder}/package.json", "#{basefolder}/package-lock.json")
  + else
  doit = true if (newer "#{basefolder}/package.json", "#{basefolder}/node_modules")
  typescriptProjectFolders()
  @@ -158,9 +164,12 @@ task 'init', "" ,(done)->
  .pipe foreach (each,next) ->
  # is any of the TS projects node_modules out of date?
  + if isV5
  + doit = true if (! test "-d", "#{each.path}/node_modules") or (newer "#{each.path}/package.json", "#{each.path}/package-lock.json")
  + else
  doit = true if (! test "-d", "#{each.path}/node_modules") or (newer "#{each.path}/package.json", "#{each.path}/node_modules")
  next null
  -
  + return null
  return null
  task 'find-rogue-node-modules','Shows the unrecognized node_modules folders in the source tree', ->
  