You are viewing a single comment's thread from:

RE: HF20 Tutorial: Claiming & Creating Discounted Accounts

in #utopian-io6 years ago

Problem, and Solution!

I've used this code several times, but when I tried today, it failed.

Using the Developers Console, I see an error in dsteem.js having to do with a promise.

client.ts:240 Uncaught (in promise) ReferenceError: regeneratorRuntime is not defined

This error happens in version 0.11 of dsteem.js but there is no error in the previous version of 0.10 so use that version. I did, and it then worked fine.

So change

<script src="https://unpkg.com/dsteem@latest/dist/dsteem.js">

to

<script src="https://unpkg.com/[email protected]/dist/dsteem.js">

and see it that works for you, as it worked for me.

Good luck!

Sort:  

Hey @kenny-crane,
Yes what you did is correct, several people had reached out to me last few days, and i pointed them to do the same change, as the new dsteem version appears to be failing for the prior function calls.