Webpack error, fs package has been installed, still error

I have npm install-- save fs several times, and I have succeeded, but I still report such an error

at npm run dev .
This dependency was not found:

* fs in ./node_modules/clone-stats/index.js, ./node_modules/convert-source-map/index.js and 6 others

To install it, you can run: npm install --save fs
> Listening at http://localhost:8080

this is why
it is useless for me to use root permissions to npm install fs .

Mar.05,2021

if node, is not configured in webpack.base.conf.js, you can try to configure
node: {

// prevent webpack from injecting useless setImmediate polyfill because Vue
// source contains it (although only uses it if it's native).
setImmediate: false,
// prevent webpack from injecting mocks to Node native modules
// that does not make sense for the client
dgram: 'empty',
fs: 'empty',
net: 'empty',
tls: 'empty',
child_process: 'empty'

}


fs is a file module of nodejs itself and does not need to be installed in any other way.
the situation of lz is amazing. Run npm run dev with root permission. Or reinstall the node.


is there a target configuration error.

Please see the web page: https://webpack.js.org/config.


has it been solved? I encountered it, too. I can't find out what the problem is. Node has been reinstalled, and it is also running under administrator privileges

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2b8ab-dff0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2b8ab-dff0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?