Lesson:10 Cannot read property 'readFileSync' of undefined #1147
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
@Cryptobaba1 add |
Beta Was this translation helpful? Give feedback.
-
Can you make a repo and link here? Thank you |
Beta Was this translation helpful? Give feedback.
-
The error is because of this line const { fs } = require("fs") change it to const fs = require("fs") And your error will be solved |
Beta Was this translation helpful? Give feedback.
The error is because of this line
change it to
And your error will be solved