#Failed to resolve entry for package "hello-soroban-client"

1 messages · Page 1 of 1 (latest)

delicate skiff
#

Hi I'm working through building a web app based on the docs here https://soroban.stellar.org/docs/getting-started/create-an-app

When I do run

soroban contract bindings typescript --network testnet --contract-id CDGCPTKPEVGKQKWHGF4JLV5NMK3KBJDMGWCTNWAJCQXWR4KWJRR5VSEL --output-dir node_modules/hello-soroban-client

I got an error:

error: program not found

But the hello-soroban-client module does get created. When I try to run the Astro app that calls the Hello smart contract, I get the following error shown in the attached screenshot. Any suggestions on how to resolve this issue?

Make a frontend web app that interacts with your smart contracts.

wheat arrow
#

Hi, did you deploy the contracts to Testnet? For example the address CDGCPTKPEVGKQKWHGF4JLV5NMK3KBJDMGWCTNWAJCQXWR4KWJRR5VSEL

delicate skiff
#

Yes deployed and I can invoke it

wheat arrow
#

Oh wait, are you on Windows?

delicate skiff
#

Yes

wheat arrow
#

Yes I had the same issue. I don't know what exactly fails

delicate skiff
#

Did you just skip that step then?

wheat arrow
#

I ended up continuing in Linux

#

I never did manage to figure out where exactly it got stuck on, and what was missing as result

delicate skiff
#

Successful in Linux?

wheat arrow
#

Yes

delicate skiff
#

Thanks.. I'll try there

wheat arrow
#

What I think it wants to do, and where it gives the 'program not found' error is just run npm install and npm run build

#

But I had other issues to, namely that the servers where I wanted to deploy it ran on Linux. So I had some filepath separator issues, and other install script fiddling that made me switch to a linux env

delicate skiff
#

Got it.. a little messy

wheat arrow
#

To be honest, that is largely due to my inexperience