解决 mac 系统报zsh: command not found: npm 问题
2024-06-22根据提示:zsh: command not found: npm。查看你的 homebrew 中 nodejs 的版本,如果出现Not installed,则表示未安装。一是:你根本就没有安装 nodejs 的环境;另一种情况是环境变量未配置,或者说配置的不对。这种情况下,你需要首先排查nodejs 的环境。等待安装完后,执行 npm -v 看看是否还报错。再执行 npm -v 就不会再报错了。_zsh: command not found: npm
VUE启动报错:Error: The project seems to require pnpm but it‘s not installed
2024-06-21【1】删除pnpm.lock。_the project seems to require pnpm but it's not installed.
【完美解决】npm install 报错pngquant failed to build, make sure that libpng-dev is installed
2024-06-11【完美解决】npm install 报错pngquant failed to build, make sure that libpng-dev is installed,解决【npm install -g windows-build-tools】安装不了问题_pngquant failed to build, make sure that libpng-dev is installed
npm WARN sass-loader@8.0.2 requires a peer of sass@^1.3.0 but none is installed. You must install pe
2024-06-06npm WARN sass-loader@8.0.2 requires a peer of sass@^1.3.0 but none is installed. You must install peer dependencies yourself.npm WARN sass-loader@8.0.2 requires a peer of fibers@>= 3.1.0 but none is installed. You must install peer dependencies yourself._you must install peer dependencies yourself.
Command ‘npm‘ not found, but can be installed with:sudo apt install npm 解决方案
2024-05-19Command 'npm' not found, but can be installed with:sudo apt install npm 解决方案_npm: command not found
IDEA中如何使用Vue
2024-05-092.点击File-->Settings-->Editor-->Inspections-->HTML,展开HTML后找到 Unknown HTML tag attribute,然后点击其右边的拓展按钮。1.首先在File中打开Settings -->Editor-->File Types,然后再下拉选项中找到HTML,并且点击其加号添加后缀。3.上一步操作进行完后,点击installed在其搜索框下搜索Vue插件并且进行勾选,勾选后点击Apply。2.添加内容为 *.vue ,然后点击OK即可配置成功。_idea vue插件
Vite Typescript Vue3学习笔记
2024-04-19vite使用的是ts,不识别.vue后缀的文件,需在vite-env.d.ts配置下。用于简化Vue3中ref、reactive**、**watch和UI组件的导入。ts需安装node的类型,否则使用node相关会提示找不到。_installed "create-vite@4.4.1" with binaries:
idea社区版支持JavaScript和css、html,以及相关插件
2024-02-04新的社区版idea可通过安装插件实现css等样式的编辑支持,在jet brain的插件官网https://plugins.jetbrains.com/idea_ce搜索:WebCalm: JavaScript and CSS下载后,打开idea的plugin界面,点击齿轮 installed from disk,安装重启即可;_idea社区版js插件