Node.js: extra methods for the fs object like copy(), remove(), mkdirs()

module not found: fs/promises#1041

Closed
Opened 5/13/20242 commentsby yknn
yknn

I encountered two problems, the first problem is that the "fs-extra/esm" module cannot be imported in the preload.js script in electron, vite, vue3 projects. The second problem is that after removing the item 'fs-extra/esm' module entry, the message "module not found: fs/promises" is displayed. ![image](https://github.com/jprichardson/node-fs-extra/assets/24401371/43ea1a91-7c92-4d3e-bdee-8d063c933184) ![image](https://github.com/jprichardson/node-fs-extra/assets/24401371/4f7c151a-c106-4823-84e3-f1ebcdec1368)

AI Analysis

This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by yknn and has received 2 comments.

Add a comment
Comment form would go here