Skip to content

readLines error #12

Answered by ishtms
8dmartin4 asked this question in Q&A
Aug 23, 2023 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

@8dmartin4 What Node.js version are you using? FileHandle.readLines was introduced in Node v18. This book is following the latest API, i.e Node v20.

You can check the version using

node --version

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by ishtms
Comment options

You must be logged in to vote
1 reply
@ishtms
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants