pure-admin / vue-pure-admin

全面ESM+Vue3+Vite+Element-Plus+TypeScript编写的一款后台管理系统(兼容移动端)
https://pure-admin.github.io/vue-pure-admin
MIT License
15.8k stars 2.99k forks source link

完整版登录时报错 #868

Closed spring680611 closed 8 months ago

spring680611 commented 8 months ago

描述问题 (Describe the problem)

vue-pure-admin/node_modules/.pnpm/vite-plugin-fake-server@2.0.0/node_modules/vite-plugin-fake-server/dist/index.mjs:661 responseHeaders: new Headers({ ...globalResponseHeaders, ...responseHeaders }), ^

ReferenceError: Headers is not defined

如何复现该问题 (How to reproduce the problem)

不知道

操作系统和浏览器信息 (Operating system and browser information)

No response

验证 (Verify)

xiaoxian521 commented 8 months ago

按此安装node版本 https://github.com/pure-admin/vue-pure-admin/blob/main/package.json#L165

xiaoxian521 commented 8 months ago

或者直接用这个版本 https://github.com/pure-admin/vue-pure-admin/blob/main/.nvmrc