Hi All,
I’ve been crawling my way through the to-do tutorial for a few days now. I get stuck, search, post an issue here and move forward. I’m currently attempting to run the tests and the issue is my instance of Ae SDK cannot find the compiler. Searching around I found there is a compilerUrl property that is passed to the constructor/Ae function:
const ownerKeyPair = wallets[0];
owner = await Ae({
url: config.host,
internalUrl: config.internalHost,
keypair: ownerKeyPair,
nativeMode: true,
networkId: 'ae_devnet',
compilerUrl: config.compilerUrl
});
When I run the tests i get the following error:
Error: Compiler not defined
at Object.isInit (node_modules\@aeternity\aepp-sdk\dist\aepp-sdk.js:1:148596)
at Object.<anonymous> (node_modules\@aeternity\aepp-sdk\dist\aepp-sdk.js:1:146072)
at u (node_modules\@aeternity\aepp-sdk\dist\aepp-sdk.js:1:16427)
at Generator._invoke (node_modules\@aeternity\aepp-sdk\dist\aepp-sdk.js:1:16215)
at Generator.t.(anonymous function) [as next] (node_modules\@aeternity\aepp-sdk\dist\aepp-sdk.js:1:16849)
at n (node_modules\@aeternity\aepp-sdk\dist\aepp-sdk.js:1:2194)
at c (node_modules\@aeternity\aepp-sdk\dist\aepp-sdk.js:1:2404)
at D:\aeternity\to-do-contract\node_modules\@aeternity\aepp-sdk\dist\aepp-sdk.js:1:2463
at new Promise (<anonymous>)
at Object.<anonymous> (node_modules\@aeternity\aepp-sdk\dist\aepp-sdk.js:1:2345)
Any help is appreciated.
In the ‘ToDo Manager Tutorial issues’ post i see some questions regarding the importance of this tutorial. I for one think this tutorial is extremely important as it covers all the basics of what’s needed to build an actual daepp. It (if it was up to date) could cover a lot of the missing documentation by communicating how all the pieces (node, compiler, sdk) fit together to actually create something on Aeternity. Once I get this going I’d be happy to share the results, make a PR of changes.
Also, I’ve requested access to the dev chat. What about a discord channel? Are devs hanging out somewhere else?