Quantcast
Channel: export solpg project locally but got error TS1378 running the client script due to top-level await - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by CanardMandarin for export solpg project locally but got error...

Because solpg uses a different layout than Anchor framework, make sure you use the "Convert and export" option when exporting your project.To fix your issue, you can wrap client.ts code in a async...

View Article



export solpg project locally but got error TS1378 running the client script...

I converted & exported this solpg project https://beta.solpg.io/658d772ecffcf4b13384ceb6 to local. Note the project runs all fine on solpg, including running client.After running anchor build...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images