Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

[01_Tutorial/02_Managing_Data.md]: using await in node REPL #145

Open
kvutien opened this issue Jun 27, 2021 · 2 comments
Open

[01_Tutorial/02_Managing_Data.md]: using await in node REPL #145

kvutien opened this issue Jun 27, 2021 · 2 comments

Comments

@kvutien
Copy link

kvutien commented Jun 27, 2021

I'm doing 01_Tutorial/02_Managing_Data.md. I forked the repo and I'm modifying the text based on my own working notes.

Question: I found that in order to use await in the nodeJS REPL, I need to launch node with the argument --experimental-repl-await. Could you confirm that indeed it makes sense to add this detail in the tutorial?

I also found an execution error in the REPL command const content = await NPP.node.dag.get(cid) but I'll file a distinct issue

@aphelionz
Copy link
Collaborator

Yes, it would be great to include that 👍

@kvutien
Copy link
Author

kvutien commented Jun 28, 2021

OK. I'll pushed the change in the 01_Basics.md when calling node. I'm not adding any explanation yet at this stage, to lessen the cognitive load on the beginner. The explanation will be given in due time in 02_Managing_Data.md

As soon as my PR of 01_Basics is merged, I'll close this issue.

I'll also repeat it in the other chapters every time we call node.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants