Giter VIP home page Giter VIP logo

vue's Introduction

项目介绍

houdunren-vue 帮助大家加快前端项目的开发,本项目提供了前端开发的很多基础功能。使用 vite、typescript、vue3、element-plus、pinia、vue-router、axios、tailwindcss 等技术开发。

希望大家为本项目加个 Star,这样我们会更有动力,谢谢你。

项目特点

  • 组件自动加载
  • 提供丰富的组件
  • 支持 typescript
  • 使用 vue3+pinia 等新技术
  • 项目结构清晰,方便快速开发
  • 全局表单验证
  • tailwindcss 与 element-plus 样式控制
  • 多个后台管理界面
  • 移动端自适应用
  • 基于 token 身份验证

在线文档

请查看在线手册学习使用,同时 后盾人 也提供了丰富的视频教程。

作者

开发者 向军大叔 从事编程多年的老程序员,晚 8 点在抖音与 B 站直播,欢迎光临。

版本库

我会将项目提交到 githubgitee 两个版本库。

安装项目

现在我们来安装前端脚手架项目,我介绍三种安装方式

安装后修改.env 文件内容: VITE_MOCK_ENABLE=true,这样可以使用 mock 数据查看效果,如果你有后台数据记得设置为false

GIT

通过 githubgitee 下载源码进行安装

$ git clone https://gitee.com/houdunren/vue houdunren-vue
$ cd houdunren-vue
$ npm install
$ npm run dev

CLI

向军大叔编写了 houdunren-vue 命令,帮助你进行项目安装。

全局安装

首先全局安装 houdunren-vue 命令

npm install -g houdunren-vue
#或
pnpm add -g houdunren-vue

然后执行 houdunren-vue 命令,按提示进行操作

➜  code houdunren-vue
  _                     _
 | |__   ___  _   _  __| |_   _ _ __  _ __ ___ _ __    ___ ___  _ __ ___
 | '_ \ / _ \| | | |/ _` | | | | '_ \| '__/ _ \ '_ \  / __/ _ \| '_ ` _ \
 | | | | (_) | |_| | (_| | |_| | | | | | |  __/ | | || (_| (_) | | | | | |
 |_| |_|\___/ \__,_|\__,_|\__,_|_| |_|_|  \___|_| |_(_)___\___/|_| |_| |_|

欢迎使用后盾人前端脚手架,向军大叔每晚8点在抖音与bilibli直播
? 请输入目录名 hd
✔ 项目创建成功,请依次执行以下命令
cd hd
npm install
npm run dev

项目安装

如果只想在项目中使用 houdunren-vue,使用 npx 是简单的

首先在项目中安装 houdunren-vue

pnpm add houdunren-vue
#或
npm install houdunren-vue

然后执行命令安装项目

npx houdunren-vue

更新项目

githubgitee 下载项目,然后替换除 src 目录以外的文件。

项目预览

image-20220424180043074

image-20220424193919149

image-20220706223650063

image-20220706223650063

每晚直播

向军大叔会在每晚八点进行直播,与大家交流技术与生活。

image-20210216220804022

请扫描下方二维码进入直播间,我们一起交流成长。

抖音 Bilibili
image-20210216220804022 image-20210216220804022

vue's People

Contributors

houdunwang avatar lyysxl avatar sunzehui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vue's Issues

npm install 安装报错

错误提示:
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "link:": link:@kangc/v-md-editor/lib/style/base-editor.css

npm版本:v18.15.0(原来v16.14.0也出现以上错误)

报错日志:
0 verbose cli D:\NPM\node.exe D:\NPM\node_modules\npm\bin\npm-cli.js
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 2ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:D:\NPM\node_modules\npm\npmrc Completed in 2ms
6 timing config:load:builtin Completed in 2ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 1ms
9 timing config:load:file:D:\phpstudy_pro\WWW\vue\houdunren-vue.npmrc Completed in 0ms
10 timing config:load:project Completed in 1ms
11 timing config:load:file:C:\Users\Admin.npmrc Completed in 1ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:C:\Users\Admin\AppData\Roaming\npm\etc\npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:setEnvs Completed in 2ms
16 timing config:load Completed in 9ms
17 timing npm:load:configload Completed in 9ms
18 timing npm:load:mkdirpcache Completed in 0ms
19 timing npm:load:mkdirplogs Completed in 0ms
20 verbose title npm install
21 verbose argv "install"
22 timing npm:load:setTitle Completed in 1ms
23 timing config:load:flatten Completed in 3ms
24 timing npm:load:display Completed in 4ms
25 verbose logfile logs-max:10 dir:C:\Users\Admin\AppData\Local\npm-cache_logs\2023-03-13T13_07_06_338Z-
26 verbose logfile C:\Users\Admin\AppData\Local\npm-cache_logs\2023-03-13T13_07_06_338Z-debug-0.log
27 timing npm:load:logFile Completed in 8ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 24ms
31 timing arborist:ctor Completed in 0ms
32 silly logfile start cleaning logs, removing 2 files
33 timing arborist:ctor Completed in 0ms
34 silly logfile done cleaning log files
35 timing idealTree:init Completed in 13ms
36 timing idealTree:userRequests Completed in 1ms
37 silly idealTree buildDeps
38 silly fetch manifest @element-plus/icons-vue@^2.0.10
39 http fetch GET 200 https://registry.npmmirror.com/@element-plus%2ficons-vue 17ms (cache hit)
40 silly fetch manifest vue@^3.2.41
41 http fetch GET 200 https://registry.npmmirror.com/vue 7ms (cache hit)
42 silly fetch manifest @icon-park/vue-next@^1.4.2
43 http fetch GET 200 https://registry.npmmirror.com/@icon-park%2fvue-next 10ms (cache hit)
44 silly fetch manifest @kangc/v-md-editor@^2.3.15
45 http fetch GET 200 https://registry.npmmirror.com/@kangc%2fv-md-editor 7ms (cache hit)
46 silly fetch manifest @vue/compiler-sfc@^3.0.0
47 http fetch GET 200 https://registry.npmmirror.com/@vue%2fcompiler-sfc 6ms (cache hit)
48 silly fetch manifest @types/gsap@^3.0.0
49 http fetch GET 200 https://registry.npmmirror.com/@types%2fgsap 5ms (cache hit)
50 silly fetch manifest @types/lodash@^4.14.188
51 http fetch GET 200 https://registry.npmmirror.com/@types%2flodash 4ms (cache hit)
52 silly fetch manifest @types/mockjs@^1.0.7
53 http fetch GET 200 https://registry.npmmirror.com/@types%2fmockjs 6ms (cache hit)
54 silly fetch manifest @vee-validate/i18n@^4.7.2
55 http fetch GET 200 https://registry.npmmirror.com/@vee-validate%2fi18n 4ms (cache hit)
56 silly fetch manifest @vee-validate/rules@^4.7.2
57 http fetch GET 200 https://registry.npmmirror.com/@vee-validate%2frules 6ms (cache hit)
58 silly fetch manifest @vitejs/plugin-vue-jsx@^2.1.1
59 http fetch GET 200 https://registry.npmmirror.com/@vitejs%2fplugin-vue-jsx 5ms (cache hit)
60 silly fetch manifest vite@^3.2.3
61 http fetch GET 200 https://registry.npmmirror.com/vite 6ms (cache hit)
62 silly fetch manifest @types/node@>= 14
63 http fetch GET 200 https://registry.npmmirror.com/@types%2fnode 7ms (cache hit)
64 silly fetch manifest less@*
65 http fetch GET 200 https://registry.npmmirror.com/less 6ms (cache hit)
66 silly fetch manifest sass@^1.56.0
67 http fetch GET 200 https://registry.npmmirror.com/sass 4ms (cache hit)
68 silly fetch manifest stylus@*
69 http fetch GET 200 https://registry.npmmirror.com/stylus 5ms (cache hit)
70 silly fetch manifest sugarss@*
71 http fetch GET 200 https://registry.npmmirror.com/sugarss 6ms (cache hit)
72 silly fetch manifest postcss@^8.4.18
73 http fetch GET 200 https://registry.npmmirror.com/postcss 4ms (cache hit)
74 silly fetch manifest terser@^5.4.0
75 http fetch GET 200 https://registry.npmmirror.com/terser 5ms (cache hit)
76 silly fetch manifest @vueuse/core@^9.4.0
77 http fetch GET 200 https://registry.npmmirror.com/@vueuse%2fcore 4ms (cache hit)
78 silly fetch manifest @wangeditor/editor@^5.1.22
79 http fetch GET 200 https://registry.npmmirror.com/@wangeditor%2feditor 4ms (cache hit)
80 silly fetch manifest @wangeditor/editor-for-vue@^5.1.12
81 http fetch GET 200 https://registry.npmmirror.com/@wangeditor%2feditor-for-vue 5ms (cache hit)
82 silly fetch manifest animate.css@^4.1.1
83 http fetch GET 200 https://registry.npmmirror.com/animate.css 5ms (cache hit)
84 silly fetch manifest axios@^1.1.3
85 http fetch GET 200 https://registry.npmmirror.com/axios 4ms (cache hit)
86 timing idealTree Completed in 246ms
87 timing command:install Completed in 252ms
88 verbose stack Error: Unsupported URL Type "link:": link:@kangc/v-md-editor/lib/style/base-editor.css
88 verbose stack at unsupportedURLType (D:\NPM\node_modules\npm\node_modules\npm-package-arg\lib\npa.js:327:15)
88 verbose stack at fromURL (D:\NPM\node_modules\npm\node_modules\npm-package-arg\lib\npa.js:387:13)
88 verbose stack at Function.resolve (D:\NPM\node_modules\npm\node_modules\npm-package-arg\lib\npa.js:83:12)
88 verbose stack at [nodeFromEdge] (D:\NPM\node_modules\npm\node_modules@npmcli\arborist\lib\arborist\build-ideal-tree.js:1058:22)
88 verbose stack at [buildDepStep] (D:\NPM\node_modules\npm\node_modules@npmcli\arborist\lib\arborist\build-ideal-tree.js:929:36)
88 verbose stack at async Arborist.buildIdealTree (D:\NPM\node_modules\npm\node_modules@npmcli\arborist\lib\arborist\build-ideal-tree.js:207:7)
88 verbose stack at async Promise.all (index 1)
88 verbose stack at async Arborist.reify (D:\NPM\node_modules\npm\node_modules@npmcli\arborist\lib\arborist\reify.js:159:5)
88 verbose stack at async Install.exec (D:\NPM\node_modules\npm\lib\commands\install.js:146:5)
88 verbose stack at async module.exports (D:\NPM\node_modules\npm\lib\cli.js:134:5)
89 verbose cwd D:\phpstudy_pro\WWW\vue\houdunren-vue
90 verbose Windows_NT 10.0.19044
91 verbose node v18.15.0
92 verbose npm v9.5.0
93 error code EUNSUPPORTEDPROTOCOL
94 error Unsupported URL Type "link:": link:@kangc/v-md-editor/lib/style/base-editor.css
95 verbose exit 1
96 timing npm Completed in 299ms
97 verbose unfinished npm timer reify 1678712826382
98 verbose unfinished npm timer reify:loadTrees 1678712826384
99 verbose unfinished npm timer idealTree:buildDeps 1678712826399
100 verbose unfinished npm timer idealTree:#root 1678712826399
101 verbose code 1
102 error A complete log of this run can be found in:
102 error C:\Users\Admin\AppData\Local\npm-cache_logs\2023-03-13T13_07_06_338Z-debug-0.log

使用yarn安装项目时有特别多的warning

yarn version:1.22.10
node version:16.15.0

log

yarn add v1.22.10rator>yarn add houdunren-vue
warning package.json: No license field
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
warning No license field
[1/4] Resolving packages...
warning create-nuxt-app > sao > micromatch > snapdragon > [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
warning create-nuxt-app > sao > micromatch > snapdragon > source-map-resolve > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning create-nuxt-app > sao > micromatch > snapdragon > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning create-nuxt-app > sao > micromatch > snapdragon > source-map-resolve > [email protected]: See https://github.com/lydell/source-map-url#deprecated
warning pm2 > [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning pm2 > [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
warning pm2 > @pm2/io > [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
warning pm2 > [email protected]: Breaking dependency change (moved from moment to luxon). Please move to 2.0.0.
warning pm2 > chokidar > [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning pm2 > @pm2/js-api > [email protected]: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
warning pm2 > @pm2/io > @opencensus/core > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning pm2 > @pm2/io > @opencensus/propagation-b3 > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning pm2 > @pm2/io > @opencensus/propagation-b3 > @opencensus/core > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
[2/4] Fetching packages...
info [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
warning No license field
warning Your current version of Yarn is out of date. The latest version is "1.22.19", while you're on "1.22.10".
info To upgrade, run the following command:
$ curl --compressed -o- -L https://yarnpkg.com/install.sh | bash
success Saved 373 new dependencies.
info Direct dependencies
├─ [email protected]
├─ [email protected]
└─ [email protected]
info All dependencies
├─ @mrmlnc/[email protected]
├─ @nodelib/[email protected]
├─ @opencensus/[email protected]
├─ @opencensus/[email protected]
├─ @pm2/[email protected]
├─ @pm2/[email protected]
├─ @pm2/[email protected]
├─ @pm2/[email protected]
├─ @pm2/[email protected]
├─ @sindresorhus/[email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
├─ [email protected]
└─ [email protected]
Done in 101.88s.

无法正常运行

错误信息

21:32:31 [vite] http proxy error:
Error: Must provide a proper URL as target
    at ProxyServer.<anonymous> (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:56922:35)
    at viteProxyMiddleware (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:57190:23)
    at call (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44106:7)
    at next (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44050:5)
    at cors (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44574:7)
    at D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44610:17
    at originCallback (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44600:15)
    at D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44605:13
    at optionsCallback (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44585:9)
    at corsMiddleware (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44590:7)
21:33:29 [vite] http proxy error:
Error: Must provide a proper URL as target
    at ProxyServer.<anonymous> (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:56922:35)
    at viteProxyMiddleware (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:57190:23)
    at call (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44106:7)
    at next (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44050:5)
    at cors (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44574:7)
    at D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44610:17
    at originCallback (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44600:15)
    at D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44605:13
    at optionsCallback (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44585:9)
    at corsMiddleware (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44590:7) (x2)
21:34:01 [vite] http proxy error:
Error: Must provide a proper URL as target
    at ProxyServer.<anonymous> (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:56922:35)
    at viteProxyMiddleware (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:57190:23)
    at call (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44106:7)
    at next (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44050:5)
    at cors (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44574:7)
    at D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44610:17
    at originCallback (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44600:15)
    at D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44605:13
    at optionsCallback (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44585:9)
    at corsMiddleware (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44590:7) (x3)
21:34:38 [vite] http proxy error:
Error: Must provide a proper URL as target
    at ProxyServer.<anonymous> (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:56922:35)
    at viteProxyMiddleware (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:57190:23)
    at call (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44106:7)
    at next (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44050:5)
    at cors (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44574:7)st\node\chunks\dep-80fe9c6b.js:44574:7)                                                                                610:17
    at D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44p-80fe9c6b.js:44600:15)     e\chunks\dep-80fe9c6b.js:44610:17                                                                                      605:13
    at originCallback (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\deep-80fe9c6b.js:44585:9)     es\vite\dist\node\chunks\dep-80fe9c6b.js:44600:15)                                                                     p-80fe9c6b.js:44590:7) (x4) 
    at D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-80fe9c6b.js:44e\chunks\dep-80fe9c6b.js:44605:13
    at optionsCallback (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dles\vite\dist\node\chunks\dep-80fe9c6b.js:44585:9)
    at corsMiddleware (D:\Projects\vue\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dees\vite\dist\node\chunks\dep-80fe9c6b.js:44590:7) (x4)

pnpm install报错

大叔,请问node要用什么版本的,我使用pnpm初始化报错了

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.