Closed ayala6521 closed 2 years ago
fs-extra
import fse from 'fs-extra'; fse.emptyDir('path/to/dir').then(() => console.log('hello'));
You are using a super old version of fs-extra, that predates promise support. Current version is 10.1.0.
fs-extra
version: 2.1.2 emptyDir returns undefined instead of returning a promise:How to Recreate: