Fixed npm build issue