#generated ts app client giving error export errors in react

8 messages · Page 1 of 1 (latest)

inland spoke
#

i get this error ,
[vite] The requested module '@algorandfoundation/algokit-utils/types/app' does not provide an export named 'SendAppTransactionResult'

inland spoke
#

i had to add import type to the imports, and now i get this error Internal server error: _AppClient is not defined

drowsy parcel
#

Update algokit utils

#

npm install @algorandfoundation/algokit-utils@latest I believe

#

Or actually, you might need to update the client generator as well.

#

But I think updating algokit utils does this indirectly

#

Otherwise it would be @algorandfoundation/algokit-client-generator@latest

#

Generating the new client manually (after updating):

npx --yes @algorandfoundation/algokit-client-generator generate -a yourArc56.json -o yourClientNameOfChoice.ts