Closed reconbot closed 6 years ago
Yep, it's a bug. I'll take a look at fixing it ASAP. The actual issue is in https://github.com/MatAtBread/nodent-compiler, and I've replicated the core case in https://github.com/MatAtBread/nodent/issues/97 (which you might want to listen to).
Thanks! I got a fairly large codebase I'm trying to port over from bluebird coroutines, so far this is the only obvious issue. π
Hopefully this is fixed by https://github.com/MatAtBread/nodent/releases/tag/3.1.2 (on npmjs).
If you have any further issues, please create a new issue in https://github.com/MatAtBread/nodent/issues
Thanks for the report!
nodent@3.1.2
isn't on npm yet, and is there a release of fast-async
that uses the updated runtime?
Says it is for me: https://www.npmjs.com/package/nodent
matatbread matatbread published 17 hours ago
3.1.2 is the latest of 180 releases
I didn't update fast-async as I didn't change anything in it, and it should simply import nodent>=3.1.0. The "easy" way to make sure you have the right version is to npm update nodent-compiler
, or just uninstall
then reinstall
fast-async
Ohh my mistake, I was trying to install nodent-runtime@3.1.2
which doesn't exist.
So I've removed fast-async
and added it again with no luck.
// from npm ls
βββ¬ fast-async@6.3.0
β βββ¬ nodent-compiler@3.1.2
β β βββ acorn@5.1.1 deduped
β β βββ acorn-es7-plugin@1.1.7
β β βββ source-map@0.5.6 deduped
β βββ nodent-runtime@3.0.4
It took a yarn upgrade
βββ¬ fast-async@6.3.0
β βββ¬ nodent-compiler@3.1.2
β β βββ acorn@5.1.1 deduped
β β βββ acorn-es7-plugin@1.1.7
β β βββ source-map@0.5.7 deduped
β βββ nodent-runtime@3.0.4
Which worked! I'm not sure if source-map
is a red hearing but, whatever. I'm happy and it worked! I leave these notes for future people in with similar problems.
Thank you so much!
config
Input:
output
Thanks!