Cannt Resolve Fs
error in ../dida-chc-app/node_modules/graceful-fs/graceful-fs.js
Module not found: Error: Can’t resolve ‘fs’ in ‘/Users/maoxunxing/arise/dida-chc-app/node_modules/graceful-fs’
error in ../dida-chc-app/node_modules/graceful-fs/legacy-streams.js
Module not found: Error: Can’t resolve ‘stream’ in ‘/Users/maoxunxing/arise/dida-chc-app/node_modules/graceful-fs’
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it.
一般是 node 包和浏览器包混用了
Be the first to know when I post cool stuff
Subscribe to get my latest posts by email.
Thanks for signing up! Check your email to confirm your subscription.
Whoops, we weren't able to process your signup.