Checks node module directories.