Cannot find module 'fs/promises' with node versions 12.x
Closed this issue · 1 comments
ManishPoduval commented
I believe in src/utils/IO/FsOperationRepo.ts
changing
import { mkdir, readFile, stat, writeFile } from "fs/promises";
to
import { promises: {mkdir, readFile, stat, writeFile} } from "fs";
would fix it.
Let's also start a process to review hot-fixes rather than going back and forth with deploying new changes @ironhack-edu ?
Another quick solution would be to have all users upgrade to the latest version of node but it's not and ideal one.
itstheandre commented
This dependency issue has been fixed