vue项目一直报错,项目直接就进行不下去了。


                                                                                     
 error  in ./node_modules/body-parser/lib/read.js

Module not found: Error: Can't resolve 'zlib' in 'D:\ZCY\vue\peoject\app\node_modules\body-parser\lib'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "zlib": require.resolve("browserify-zlib") }'
        - install 'browserify-zlib'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "zlib": false }

 error  in ./node_modules/content-disposition/index.js

Module not found: Error: Can't resolve 'path' in 'D:\ZCY\vue\peoject\app\node_modules\content-disposition'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
        - install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "path": false }

 error  in ./node_modules/cookie-signature/index.js

Module not found: Error: Can't resolve 'crypto' in 'D:\ZCY\vue\peoject\app\node_modules\cookie-signature'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }'
        - install 'crypto-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "crypto": false }

 error  in ./node_modules/destroy/index.js

Module not found: Error: Can't resolve 'fs' in 'D:\ZCY\vue\peoject\app\node_modules\destroy'

 error  in ./node_modules/destroy/index.js

Module not found: Error: Can't resolve 'stream' in 'D:\ZCY\vue\peoject\app\node_modules\destroy'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }'
        - install 'stream-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "stream": false }

 error  in ./node_modules/destroy/index.js

Module not found: Error: Can't resolve 'zlib' in 'D:\ZCY\vue\peoject\app\node_modules\destroy'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "zlib": require.resolve("browserify-zlib") }'
        - install 'browserify-zlib'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "zlib": false }

 error  in ./node_modules/etag/index.js

Module not found: Error: Can't resolve 'crypto' in 'D:\ZCY\vue\peoject\app\node_modules\etag'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }'
        - install 'crypto-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "crypto": false }

 error  in ./node_modules/etag/index.js

Module not found: Error: Can't resolve 'fs' in 'D:\ZCY\vue\peoject\app\node_modules\etag'

 error  in ./node_modules/express/lib/application.js

Module not found: Error: Can't resolve 'http' in 'D:\ZCY\vue\peoject\app\node_modules\express\lib'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "http": require.resolve("stream-http") }'
        - install 'stream-http'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "http": false }

 error  in ./node_modules/express/lib/application.js

Module not found: Error: Can't resolve 'path' in 'D:\ZCY\vue\peoject\app\node_modules\express\lib'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
        - install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "path": false }

 error  in ./node_modules/express/lib/request.js

Module not found: Error: Can't resolve 'net' in 'D:\ZCY\vue\peoject\app\node_modules\express\lib'

 error  in ./node_modules/express/lib/view.js

Module not found: Error: Can't resolve 'fs' in 'D:\ZCY\vue\peoject\app\node_modules\express\lib'

 error  in ./node_modules/mime-types/index.js

Module not found: Error: Can't resolve 'path' in 'D:\ZCY\vue\peoject\app\node_modules\mime-types'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
        - install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "path": false }

 error  in ./node_modules/mime/mime.js

Module not found: Error: Can't resolve 'path' in 'D:\ZCY\vue\peoject\app\node_modules\mime'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
        - install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "path": false }

 error  in ./node_modules/mime/mime.js

Module not found: Error: Can't resolve 'fs' in 'D:\ZCY\vue\peoject\app\node_modules\mime'

 error  in ./node_modules/send/index.js

Module not found: Error: Can't resolve 'fs' in 'D:\ZCY\vue\peoject\app\node_modules\send'

 error  in ./node_modules/send/index.js

Module not found: Error: Can't resolve 'path' in 'D:\ZCY\vue\peoject\app\node_modules\send'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
        - install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "path": false }

 error  in ./node_modules/send/index.js

Module not found: Error: Can't resolve 'stream' in 'D:\ZCY\vue\peoject\app\node_modules\send'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }'
        - install 'stream-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "stream": false }

 error  in ./node_modules/serve-static/index.js

Module not found: Error: Can't resolve 'path' in 'D:\ZCY\vue\peoject\app\node_modules\serve-static'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
        - install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "path": false }

ERROR in ./node_modules/body-parser/lib/read.js 19:11-26                                                                                     
Module not found: Error: Can't resolve 'zlib' in 'D:\ZCY\vue\peoject\app\node_modules\body-parser\lib'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "zlib": require.resolve("browserify-zlib") }'
        - install 'browserify-zlib'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "zlib": false }
 @ ./node_modules/body-parser/lib/types/raw.js 14:11-29
 @ ./node_modules/body-parser/index.js 139:15-41
 @ ./node_modules/express/lib/express.js 14:17-39
 @ ./node_modules/express/index.js 11:0-41
 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Linkage/index.vue?vue&type=script&lang=js& 4:0-32
 @ ./src/components/Linkage/index.vue?vue&type=script&lang=js& 1:0-205 1:221-224 1:226-428 1:226-428
 @ ./src/components/Linkage/index.vue 2:0-57 3:0-52 3:0-52 10:2-8
 @ ./src/main.js 6:0-43

ERROR in ./node_modules/content-disposition/index.js 22:15-39
Module not found: Error: Can't resolve 'path' in 'D:\ZCY\vue\peoject\app\node_modules\content-disposition'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
        - install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "path": false }
 @ ./node_modules/express/lib/response.js 16:25-55
 @ ./node_modules/express/lib/express.js 21:10-31
 @ ./node_modules/express/index.js 11:0-41
 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Linkage/index.vue?vue&type=script&lang=js& 4:0-32
 @ ./src/components/Linkage/index.vue?vue&type=script&lang=js& 1:0-205 1:221-224 1:226-428 1:226-428
 @ ./src/components/Linkage/index.vue 2:0-57 3:0-52 3:0-52 10:2-8
 @ ./src/main.js 6:0-43

ERROR in ./node_modules/cookie-signature/index.js 5:13-30
Module not found: Error: Can't resolve 'crypto' in 'D:\ZCY\vue\peoject\app\node_modules\cookie-signature'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }'
        - install 'crypto-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "crypto": false }
 @ ./node_modules/express/lib/response.js 27:11-43
 @ ./node_modules/express/lib/express.js 21:10-31
 @ ./node_modules/express/index.js 11:0-41
 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Linkage/index.vue?vue&type=script&lang=js& 4:0-32
 @ ./src/components/Linkage/index.vue?vue&type=script&lang=js& 1:0-205 1:221-224 1:226-428 1:226-428
 @ ./src/components/Linkage/index.vue 2:0-57 3:0-52 3:0-52 10:2-8
 @ ./src/main.js 6:0-43

ERROR in ./node_modules/destroy/index.js 15:17-41
Module not found: Error: Can't resolve 'fs' in 'D:\ZCY\vue\peoject\app\node_modules\destroy'
 @ ./node_modules/send/index.js 18:14-32
 @ ./node_modules/express/lib/response.js 32:11-26
 @ ./node_modules/express/lib/express.js 21:10-31
 @ ./node_modules/express/index.js 11:0-41
 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Linkage/index.vue?vue&type=script&lang=js& 4:0-32
 @ ./src/components/Linkage/index.vue?vue&type=script&lang=js& 1:0-205 1:221-224 1:226-428 1:226-428
 @ ./src/components/Linkage/index.vue 2:0-57 3:0-52 3:0-52 10:2-8
 @ ./src/main.js 6:0-43

ERROR in ./node_modules/destroy/index.js 16:13-30
Module not found: Error: Can't resolve 'stream' in 'D:\ZCY\vue\peoject\app\node_modules\destroy'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }'
        - install 'stream-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "stream": false }
 @ ./node_modules/send/index.js 18:14-32
 @ ./node_modules/express/lib/response.js 32:11-26
 @ ./node_modules/express/lib/express.js 21:10-31
 @ ./node_modules/express/index.js 11:0-41
 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Linkage/index.vue?vue&type=script&lang=js& 4:0-32
 @ ./src/components/Linkage/index.vue?vue&type=script&lang=js& 1:0-205 1:221-224 1:226-428 1:226-428
 @ ./src/components/Linkage/index.vue 2:0-57 3:0-52 3:0-52 10:2-8
 @ ./src/main.js 6:0-43

ERROR in ./node_modules/destroy/index.js 17:11-26
Module not found: Error: Can't resolve 'zlib' in 'D:\ZCY\vue\peoject\app\node_modules\destroy'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "zlib": require.resolve("browserify-zlib") }'
        - install 'browserify-zlib'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "zlib": false }
 @ ./node_modules/send/index.js 18:14-32
 @ ./node_modules/express/lib/response.js 32:11-26
 @ ./node_modules/express/lib/express.js 21:10-31
 @ ./node_modules/express/index.js 11:0-41
 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Linkage/index.vue?vue&type=script&lang=js& 4:0-32
 @ ./src/components/Linkage/index.vue?vue&type=script&lang=js& 1:0-205 1:221-224 1:226-428 1:226-428
 @ ./src/components/Linkage/index.vue 2:0-57 3:0-52 3:0-52 10:2-8
 @ ./src/main.js 6:0-43

ERROR in ./node_modules/etag/index.js 20:13-30
Module not found: Error: Can't resolve 'crypto' in 'D:\ZCY\vue\peoject\app\node_modules\etag'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }'
        - install 'crypto-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "crypto": false }
 @ ./node_modules/express/lib/utils.js 21:11-26
 @ ./node_modules/express/lib/application.js 23:18-48 24:25-62 25:19-50
 @ ./node_modules/express/lib/express.js 17:12-36
 @ ./node_modules/express/index.js 11:0-41
 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Linkage/index.vue?vue&type=script&lang=js& 4:0-32
 @ ./src/components/Linkage/index.vue?vue&type=script&lang=js& 1:0-205 1:221-224 1:226-428 1:226-428
 @ ./src/components/Linkage/index.vue 2:0-57 3:0-52 3:0-52 10:2-8
 @ ./src/main.js 6:0-43

ERROR in ./node_modules/etag/index.js 21:12-31
Module not found: Error: Can't resolve 'fs' in 'D:\ZCY\vue\peoject\app\node_modules\etag'
 @ ./node_modules/express/lib/utils.js 21:11-26
 @ ./node_modules/express/lib/application.js 23:18-48 24:25-62 25:19-50
 @ ./node_modules/express/lib/express.js 17:12-36
 @ ./node_modules/express/index.js 11:0-41
 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Linkage/index.vue?vue&type=script&lang=js& 4:0-32
 @ ./src/components/Linkage/index.vue?vue&type=script&lang=js& 1:0-205 1:221-224 1:226-428 1:226-428
 @ ./src/components/Linkage/index.vue 2:0-57 3:0-52 3:0-52 10:2-8
 @ ./src/main.js 6:0-43

ERROR in ./node_modules/express/lib/application.js 22:11-26
Module not found: Error: Can't resolve 'http' in 'D:\ZCY\vue\peoject\app\node_modules\express\lib'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "http": require.resolve("stream-http") }'
        - install 'stream-http'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "http": false }
 @ ./node_modules/express/lib/express.js 17:12-36
 @ ./node_modules/express/index.js 11:0-41
 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Linkage/index.vue?vue&type=script&lang=js& 4:0-32
 @ ./src/components/Linkage/index.vue?vue&type=script&lang=js& 1:0-205 1:221-224 1:226-428 1:226-428
 @ ./src/components/Linkage/index.vue 2:0-57 3:0-52 3:0-52 10:2-8
 @ ./src/main.js 6:0-43

ERROR in ./node_modules/express/lib/application.js 29:14-37
Module not found: Error: Can't resolve 'path' in 'D:\ZCY\vue\peoject\app\node_modules\express\lib'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
        - install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "path": false }
 @ ./node_modules/express/lib/express.js 17:12-36
 @ ./node_modules/express/index.js 11:0-41
 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Linkage/index.vue?vue&type=script&lang=js& 4:0-32
 @ ./src/components/Linkage/index.vue?vue&type=script&lang=js& 1:0-205 1:221-224 1:226-428 1:226-428
 @ ./src/components/Linkage/index.vue 2:0-57 3:0-52 3:0-52 10:2-8
 @ ./src/main.js 6:0-43

ERROR in ./node_modules/express/lib/request.js 17:11-30
Module not found: Error: Can't resolve 'net' in 'D:\ZCY\vue\peoject\app\node_modules\express\lib'
 @ ./node_modules/express/lib/express.js 20:10-30
 @ ./node_modules/express/index.js 11:0-41
 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Linkage/index.vue?vue&type=script&lang=js& 4:0-32
 @ ./src/components/Linkage/index.vue?vue&type=script&lang=js& 1:0-205 1:221-224 1:226-428 1:226-428
 @ ./src/components/Linkage/index.vue 2:0-57 3:0-52 3:0-52 10:2-8
 @ ./src/main.js 6:0-43

ERROR in ./node_modules/express/lib/request.js 19:11-26
Module not found: Error: Can't resolve 'http' in 'D:\ZCY\vue\peoject\app\node_modules\express\lib'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "http": require.resolve("stream-http") }'
        - install 'stream-http'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "http": false }
 @ ./node_modules/express/lib/express.js 20:10-30
 @ ./node_modules/express/index.js 11:0-41
 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Linkage/index.vue?vue&type=script&lang=js& 4:0-32
 @ ./src/components/Linkage/index.vue?vue&type=script&lang=js& 1:0-205 1:221-224 1:226-428 1:226-428
 @ ./src/components/Linkage/index.vue 2:0-57 3:0-52 3:0-52 10:2-8
 @ ./src/main.js 6:0-43

ERROR in ./node_modules/express/lib/response.js 21:11-26
Module not found: Error: Can't resolve 'http' in 'D:\ZCY\vue\peoject\app\node_modules\express\lib'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "http": require.resolve("stream-http") }'
        - install 'stream-http'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "http": false }
 @ ./node_modules/express/lib/express.js 21:10-31
 @ ./node_modules/express/index.js 11:0-41
 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Linkage/index.vue?vue&type=script&lang=js& 4:0-32
 @ ./src/components/Linkage/index.vue?vue&type=script&lang=js& 1:0-205 1:221-224 1:226-428 1:226-428
 @ ./src/components/Linkage/index.vue 2:0-57 3:0-52 3:0-52 10:2-8
 @ ./src/main.js 6:0-43

ERROR in ./node_modules/express/lib/response.js 24:11-26
Module not found: Error: Can't resolve 'path' in 'D:\ZCY\vue\peoject\app\node_modules\express\lib'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
        - install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "path": false }
 @ ./node_modules/express/lib/express.js 21:10-31
 @ ./node_modules/express/index.js 11:0-41
 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Linkage/index.vue?vue&type=script&lang=js& 4:0-32
 @ ./src/components/Linkage/index.vue?vue&type=script&lang=js& 1:0-205 1:221-224 1:226-428 1:226-428
 @ ./src/components/Linkage/index.vue 2:0-57 3:0-52 3:0-52 10:2-8
 @ ./src/main.js 6:0-43

ERROR in ./node_modules/express/lib/view.js 16:11-26
Module not found: Error: Can't resolve 'path' in 'D:\ZCY\vue\peoject\app\node_modules\express\lib'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
        - install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "path": false }
 @ ./node_modules/express/lib/application.js 21:11-28
 @ ./node_modules/express/lib/express.js 17:12-36
 @ ./node_modules/express/index.js 11:0-41
 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Linkage/index.vue?vue&type=script&lang=js& 4:0-32
 @ ./src/components/Linkage/index.vue?vue&type=script&lang=js& 1:0-205 1:221-224 1:226-428 1:226-428
 @ ./src/components/Linkage/index.vue 2:0-57 3:0-52 3:0-52 10:2-8
 @ ./src/main.js 6:0-43

ERROR in ./node_modules/express/lib/view.js 17:9-22
Module not found: Error: Can't resolve 'fs' in 'D:\ZCY\vue\peoject\app\node_modules\express\lib'
 @ ./node_modules/express/lib/application.js 21:11-28
 @ ./node_modules/express/lib/express.js 17:12-36
 @ ./node_modules/express/index.js 11:0-41
 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Linkage/index.vue?vue&type=script&lang=js& 4:0-32
 @ ./src/components/Linkage/index.vue?vue&type=script&lang=js& 1:0-205 1:221-224 1:226-428 1:226-428
 @ ./src/components/Linkage/index.vue 2:0-57 3:0-52 3:0-52 10:2-8
 @ ./src/main.js 6:0-43

ERROR in ./node_modules/mime-types/index.js 15:14-37
Module not found: Error: Can't resolve 'path' in 'D:\ZCY\vue\peoject\app\node_modules\mime-types'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
        - install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "path": false }
 @ ./node_modules/type-is/index.js 15:11-32
 @ ./node_modules/express/lib/request.js 18:13-31
 @ ./node_modules/express/lib/express.js 20:10-30
 @ ./node_modules/express/index.js 11:0-41
 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Linkage/index.vue?vue&type=script&lang=js& 4:0-32
 @ ./src/components/Linkage/index.vue?vue&type=script&lang=js& 1:0-205 1:221-224 1:226-428 1:226-428
 @ ./src/components/Linkage/index.vue 2:0-57 3:0-52 3:0-52 10:2-8
 @ ./src/main.js 6:0-43

ERROR in ./node_modules/mime/mime.js 1:11-26
Module not found: Error: Can't resolve 'path' in 'D:\ZCY\vue\peoject\app\node_modules\mime'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
        - install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "path": false }
 @ ./node_modules/send/index.js 24:11-26
 @ ./node_modules/express/lib/response.js 32:11-26
 @ ./node_modules/express/lib/express.js 21:10-31
 @ ./node_modules/express/index.js 11:0-41
 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Linkage/index.vue?vue&type=script&lang=js& 4:0-32
 @ ./src/components/Linkage/index.vue?vue&type=script&lang=js& 1:0-205 1:221-224 1:226-428 1:226-428
 @ ./src/components/Linkage/index.vue 2:0-57 3:0-52 3:0-52 10:2-8
 @ ./src/main.js 6:0-43

ERROR in ./node_modules/mime/mime.js 2:9-22
Module not found: Error: Can't resolve 'fs' in 'D:\ZCY\vue\peoject\app\node_modules\mime'
 @ ./node_modules/send/index.js 24:11-26
 @ ./node_modules/express/lib/response.js 32:11-26
 @ ./node_modules/express/lib/express.js 21:10-31
 @ ./node_modules/express/index.js 11:0-41
 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Linkage/index.vue?vue&type=script&lang=js& 4:0-32
 @ ./src/components/Linkage/index.vue?vue&type=script&lang=js& 1:0-205 1:221-224 1:226-428 1:226-428
 @ ./src/components/Linkage/index.vue 2:0-57 3:0-52 3:0-52 10:2-8
 @ ./src/main.js 6:0-43

ERROR in ./node_modules/send/index.js 23:9-22
Module not found: Error: Can't resolve 'fs' in 'D:\ZCY\vue\peoject\app\node_modules\send'
 @ ./node_modules/express/lib/response.js 32:11-26
 @ ./node_modules/express/lib/express.js 21:10-31
 @ ./node_modules/express/index.js 11:0-41
 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Linkage/index.vue?vue&type=script&lang=js& 4:0-32
 @ ./src/components/Linkage/index.vue?vue&type=script&lang=js& 1:0-205 1:221-224 1:226-428 1:226-428
 @ ./src/components/Linkage/index.vue 2:0-57 3:0-52 3:0-52 10:2-8
 @ ./src/main.js 6:0-43

ERROR in ./node_modules/send/index.js 28:11-26
Module not found: Error: Can't resolve 'path' in 'D:\ZCY\vue\peoject\app\node_modules\send'

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.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
        - install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "path": false }
 @ ./node_modules/express/lib/response.js 32:11-26
 @ ./node_modules/express/lib/express.js 21:10-31
 @ ./node_modules/express/index.js 11:0-41
 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Linkage/index.vue?vue&type=script&lang=js& 4:0-32
 @ ./src/components/Linkage/index.vue?vue&type=script&lang=js& 1:0-205 1:221-224 1:226-428 1:226-428
 @ ./src/components/Linkage/index.vue 2:0-57 3:0-52 3:0-52 10:2-8
 @ ./src/main.js 6:0-43

        - install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "path": false }
 @ ./node_modules/express/lib/express.js 88:0-40
 @ ./node_modules/express/index.js 11:0-41
 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Linkage/index.vue?vue&type=script&lang=js& 4:0-32
 @ ./src/components/Linkage/index.vue?vue&type=script&lang=js& 1:0-205 1:221-224 1:226-428 1:226-428
 @ ./src/components/Linkage/index.vue 2:0-57 3:0-52 3:0-52 10:2-8
 @ ./src/main.js 6:0-43

webpack compiled with 23 errors
![img](https://img-mid.csdnimg.cn/release/static/image/mid/ask/441394002186188.png "#left")



img

参考这个:

以下内容部分参考ChatGPT模型:


建议参考以下步骤来定位问题:

1.查看控制台输出的错误信息,定位具体错误位置和类型。

2.检查代码中可能存在的语法错误、拼写错误等问题。

3.检查是否正确引入了需要的依赖库和组件。

4.尝试使用调试工具(如Vue DevTools)定位问题。

5.如果以上步骤无法解决问题,可以考虑搜索类似问题的解决方案或向社区求助。


如果我的建议对您有帮助、请点击采纳、祝您生活愉快