added nan as a dependency in package.son