Election-Tech-Initiative/electionguard-ui

๐Ÿž Compiler Error in admin-app

Closed this issue ยท 0 comments

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When you make start you get:

TypeScript error in C:/dev/ElectionGuard/electionguard-ui/packages/admin-app/src/components/ElectionSetupWizard/ElectionSetupWizard.tsx(1,33):
Module '"@electionguard/api-client"' has no exported member 'getGuardianApiClient'.  TS2305

  > 1 | import { AsyncResult, JointKey, getGuardianApiClient } from '@electionguard/api-client';
      |                                 ^
    2 | import { Box } from '@material-ui/core';
    3 | import React, { useState } from 'react'

Expected Behavior

It should compile and run

Steps To Reproduce

No response

Environment

- OS: Windows, but probably Ubuntu too

Anything else?

No response