node-sass install node sass

node 版本管理工具

1、sudo npm install n -g 支持mac 2、nvm 下载地址:https://github.com/coreybutler/nvm-windows/releases 下载后安装即可 ......
管理工具 版本 工具 node

如何快速删除node_modules

1.windows11 操作系统 回到桌面--》右击任务管理器--》运行新任务- 2.--》勾选以管理员身份运行cmd命令 3.--》删除命令 帮助help rd 4.删除命令 rd/s/q 盘符:\某个文件夹 如: rd/s/q E:\webProject\node_modules 这是高危险命令 ......
node_modules modules node

node.js 创建微服务器

const http = require('http'); const hostname = '127.0.0.1'; const port = 3000; const server = http.createServer((req, res) => { res.statusCode = 200; ......
服务器 node js

如何在Web应用程序中使用队列 – Node.js和Redis教程

当您构建大型 Web 应用程序时,速度是首要考虑的因素。用户不想再等待很长时间才能得到响应,他们也不应该这样做。但有些流程需要时间,而且无法加快或消除。 消息队列通过为通常的请求-响应过程提供额外的分支来帮助解决这个问题。这个额外的分支有助于确保用户能够立即得到响应,并且可以暂时完成耗时的流程。大家 ......
队列 应用程序 程序 教程 Redis

sudo apt-get install libtool

Can't exec "libtoolize": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 345, line 5. autoreconf: failed to run libtoolize ......
apt-get install libtool sudo apt

Node.js 常用知识

1、安装、卸载 modules 参考:https://www.cnblogs.com/phpjason/p/16354320.html npm install xxx 下载安装包到node_modelus npm install xxx@1.x.x 可以精确下载某个版本 npm install -- ......
常用 知识 Node js

vue前端使用node-rsa公钥加密解密

const NodeRSA = require('node-rsa'); // 使用公钥加密 export function encrypt (msg,commonKey) { const key = new NodeRSA(` BEGIN PUBLIC KEY ${commonKey} END P ......
公钥 加密解密 前端 node-rsa node

go get 和 go install 对比

(一)命令定义和区别 go install 和 go get 都是 Go 语言的工具命令,但它们之间有一些区别。 go get:用于从远程代码存储库(如 GitHub)中下载或更新 Go 代码包。它会下载代码包并将其存储在 $GOPATH/src 目录下对应的位置,并编译代码包中的程序和库。如果目标 ......
install go get

pip install -r requirements.txt安装问题

## pip install -r requirements.txt安装问题 ### 一、requirements.txt介绍: 1. python项目中必须包含一个 requirements.txt 文件,用于记录所有依赖包及其精确的版本号。以便新环境部署。 requirements.txt可以通 ......
requirements install 问题 pip txt

docker 部署elastic [Install Elasticsearch with Docker]

.env # Password for the 'elastic' user (at least 6 characters) ELASTIC_PASSWORD=elastic@password # Password for the 'kibana_system' user (at least 6 c ......
Elasticsearch Install elastic docker Docker

麒麟V10服务器安装MySQL报错file /etc/my.cnf from install of mysql-community-server-8.0.33-1.el7.x86_64 conflicts with file from package mariadb-common-3:10.3.9-9.p02.ky10.x86_64

1.问题描述 具体地说,"/etc/my.cnf" 文件与 "mysql-community-server-8.0.33-1.el7.x86_64" 包中的文件发生冲突,并与 "mariadb-common-3:10.3.9-9.p02.ky10.x86_64" 包中的文件相冲突。 这种冲突是由于系 ......

解决k8s master节点上部署calico网络node节点一直NotReady状态的问题

## 解决k8s master节点上部署calico网络node节点一直NotReady状态的问题 > //20230707 最近在学习k8s,跟着书上的步骤搭建k8s集群,其中出了很多的问题,在此记录一下 ### 镜像pull不下来 > 安装k8s的过程中需要拉取很多的docker镜像,但是doc ......
节点 NotReady 状态 calico master

node js 版本更新

# 简介 RT # 命令 ``` sudo npm cache clean -f sudo npm install -g n sudo n stable ``` # 参考链接 https://askubuntu.com/questions/426750/how-can-i-update-my-nod ......
版本 node js

【vue-问题】vue : 无法加载文件 D:\Program Files\nodejs\node_global\vue.ps1,因为在此系统上禁止运行脚本

【vue-问题】vue : 无法加载文件 D:\Program Files\nodejs\node_global\vue.ps1,因为在此系统上禁止运行脚本。解决方法:①:管理员方式运行PowerShell,输入get-ExecutionPolicy。如果它回复Restricted,表示是禁止的②: ......
vue node_global 脚本 Program 文件

Codeforces Round 840 E - Node Pairs

# E - Node Pairs 题目链接:[E - Node Pairs](https://codeforces.com/contest/1763/problem/E "E - Node Pairs") ## 题意 题意晦涩难懂,但理解了之后就发现是让计算两个值: 1.最小的n使得一个具有n个点的 ......
Codeforces Round Pairs Node 840

2.sass

1. 变量:$ //1.常规 $myColor:red; .first{ color:$myColor; } //2.局部作用域 .second{ $myColor:red; color:$myColor; } //3.全局作用域 .third{ $myColor:red !global; colo ......
sass

VSCode如何通过Ctrl+P快速打开node_modules中的文件

咱们新建一个NodeJS项目,必然会安装许多依赖包,因此经常需要查阅某些依赖包的源码文件。但是,由于node_modules目录包含的文件太多,出于性能考虑,在VSCode中默认情况下是禁止搜索node_modules目录的。在这种情况下,我们将不得不依次展开node_modules的文件目录树,来... ......
node_modules modules 文件 VSCode Ctrl

How To Fix the ERR_OSSL_EVP_UNSUPPORTED Error in Node.js

Fix the ERR_OSSL_EVP_UNSUPPORTED Error There are two ways to fix the ERR_OSSL_EVP_UNSUPPORTED error: Upgrade Node.js by downloading and installing the ......

nvm安装node.js总结

nvm安装node.js总结 什么是nvm? nvm(Node.js version manager) 是一个命令行应用,可以协助您快速地 更新、安装、使用、卸载 本机的全局 node.js 版本。 为什么要用nvm? 有时候,我们可能同时在进行多个项目开发,而多个项目所使用的node版本又是不一样 ......
node nvm js

linux安装node

**1. 下载node** 去[nodejs官网](https://nodejs.org/en/download)下载最新版本 ![](https://img2023.cnblogs.com/blog/3235502/202307/3235502-20230706093853927-17816739 ......
linux node

node restAPI 简单例子

// 第一版,node的httpp // const http = require('http'); // const server=http.createServer((req,res)=>{ // if(req.url '/'){ // res.write('hello world') // r ......
例子 restAPI node

NVM-windows 管理 node.js 版本完全指南

## 前言 nvm 是什么? - 通过 nvm 可以控制自己的 node 版本, 方便我们对不同项目的 node 版本随意切换 什么是 nvm-windows? - 是 nvm 的 windows 版本 ## 安装 可以使用 npm 安装也可以手动安装, **这里推荐手动安装** ### 手动安装 ......
NVM-windows windows 版本 指南 node

pip3 Defaulting to user installation because normal site-packages is not writeable

**Defaulting to user installation because normal site-packages is not writeable** ![image](https://img2023.cnblogs.com/blog/597729/202307/597729-20230 ......

利用ansible批量部署node客户端,并注册consul,实现主机自动发现

1.在管理机器上搭建consul 并上传 node_exoporter软件包 ,system服务配置文件,注册脚本 2.利用ansible对指定机器去分发软件包并启动服务,并curl 注册到consul 编写为node-exporter.yml 3.prometheus配置consul地址,获取主机 ......
客户端 主机 ansible 客户 consul

Element-plus按需导入报错:Error: Cannot find module 'node:module'

## 1.问题 1. vue3项目使用ElementPlus组件库,配置按需导入: 2. 首先安装`unplugin-vue-components` 和 `unplugin-auto-import`这两款插件 ```bash npm install -D unplugin-vue-component ......
module Element-plus Element Cannot Error

vue项目报错:Node.js v18.16.1 error Command failed with exit code 1.

原因: 把node升级到了最新的长期支持版18.16.1,结果运行vue项目启动失败,报错如下: ![](https://img2023.cnblogs.com/blog/1222453/202307/1222453-20230705102711598-990400528.png) 试了各种办法都解 ......
Command 项目 failed error Node

conda install notebook -c conda-forge 这条指令中的 -c conda-forge是什么意思

在这条指令中, -c conda-forge 是一个选项,意味着从 conda-forge 通道(channel)安装 notebook 软件包。 conda-forge 是一个由社区维护的 Conda 通道,提供了许多开源软件包。通过指定 -c conda-forge ,将从这个通道安装软件包,而 ......
conda conda-forge forge 指令 notebook

Node.js下载安装及环境配置+vue配置

[TOC] #### 一、官网下载 https://nodejs.org/zh-cn/download/ 选择对应你系统的Node.js版本,这里我选择的是Windows系统、64位 ![](https://img2023.cnblogs.com/blog/3010252/202307/301025 ......
环境 Node vue js

npm install 报错 npm ERR! gyp verb check python checking for Python executable "python2.7.15" in the PATH

今天新启动一个项目,在 npm install 安装依赖项时出现报错。 $ npm install > husky@0.14.3 install D:\programs\rubik-web\node_modules\husky > node ./bin/install.js husky settin ......
python quot executable npm checking

使用 node 17以上版本运行项目报错--Error: error:0308010C:digital envelope routines::unsupported

一、起因# 由于电脑重装系统,重新下载nodejs,自然更新到最新版本18,之前的版本才16。更新到最新nodejs版本后,运行vue文件,报错: this[kHandle] = new _Hash(algorithm, xofLen); ^ Error: error:0308010C:digita ......