You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there! Thanks for all the work you've put into the RUN protocol -- it's a been fun getting to know it.
I noticed that the setup instructions do not run in a node environment as promised. The failing line of code is:
awaitjig.sync()
... which leads to the error:
SyntaxError: await is only valid in async function
This is a common error caused by an await keyword being used outside of an async function (fairly obvious from the error message). You can fix this error by placing the call in an async function, like so:
Hi there! Thanks for all the work you've put into the RUN protocol -- it's a been fun getting to know it.
I noticed that the setup instructions do not run in a node environment as promised. The failing line of code is:
... which leads to the error:
This is a common error caused by an
await
keyword being used outside of anasync
function (fairly obvious from the error message). You can fix this error by placing the call in anasync
function, like so:Normally, I'd submit a pull request but noticed that there's only minified code available on the repo in the
dist
directory.I hope this suggestion helps you and others who look into RUN. :)
The text was updated successfully, but these errors were encountered: