Figure out nvm, npm, nrm at once

Foreword: After learning nodejs, I installed nvm, npm, and nrm. When I first came into contact with it, I felt dizzy. After struggling all afternoon, I finally figured out these three big brothers. Let me take you through what these are, what they do, common commands and the errors I encountered. For me, it is […]

nvm realizes the coexistence of multiple versions of nodejs under windows

Table of Contents 1.Install nvm 1.1 Download the installation package 1.2 Install nvm 1.3 Configure nvm to download the image 1.4 Configure nvm environment variables 2. Use nvm 2.1 Basic commands 2.2 Use nvm to download nodejs 3.npm configure global dependencies and cache dependencies (optional) 4. Install commonly used modules 4.1 Install express 4.2 Install […]

Nvidia graphics card Failed to initialize NVML Driver/library version mismatch error solution

GPT has become quite popular recently, so I started to experiment with the GPU to run projects: https://github.com/OpenTalker/SadTalker Today I suddenly found that the program could not be used. After investigation, it was probably due to the inconsistency between the NVIDIA kernel driver version and the system driver version. The solutions to this error are […]

nvme development–Linux memory block device essay

Pseudo memory block device driver essay 1 This is the introduction and use of the memory block device driver framework for Linux 3.0 to 6.0. Currently, the memory applied for by vmalloc is used as a disk. Article directory Pseudo memory block device driver essay one Preface 1. Introduction to block device drivers 2. Memory […]

Play with the system | node.js version management tool nvm installation and setting detailed process

Recently, I wanted to add a watermark to the pictures in the blog posts, but I didn’t want to use separate software to add watermarks every time. I thought that picgo seemed to have a watermark plug-in, picgo-plugin-watermark, so I installed it excitedly, but when I installed it, I found that… No matter how I […]

Linux-Ubuntu22.04, [nvidia-smi] Failed to initialize NVML: Driver/library version mismatch solution

1. System: Ubuntu 22.04.3 LTS (64-bit) 2. Question: It was still working normally yesterday. You can check the graphics card version. Today it prompts that the version does not match. I suspect it was because I installed CUDA yesterday? But cuda should not affect the graphics card driver. So, I checked the driver version dpkg […]

Use nvm to manage and switch node versions

wrong description: C:\Users\Y\AppData\Roaming\ pm\yarn.cmd install yarn install v1.22.19 [1/4] Resolving packages… [2/4] Fetching packages… [3/4] Linking dependencies… warning “@vue/cli-plugin-unit-mocha > [email protected]” has unmet peer dependency “webpack@^4.0.0″. warning ” > [email protected]″ has unmet peer dependency “webpack@^3.0.0 || ^4.0.0”. [4/4] Building fresh packages… [-/4] ? waiting… [2/4] ? yorkie [-/4] ? waiting… error D:\code\tiku-develop\source\front-end\tiku\ ode_modules\ ode-sass: Command […]

NVM+NODE+VUE+combination API+VITE+TS+Router+VUEX+ElementUI+SASS builds a complete front-end project

Environment: MAC 1. Purpose of this article Quickly build a complete project structure 2. Solving problems 1. Multi-version node management 2. nvm installation 3. brew installation 4. Vite + Vue initialization project 5. Router installation 6. Sass installation 7. ElementUI installation 8. Vuex installation 9. Project configuration integration 10. Simple page construction, jump, parameter passing, […]

Basic use of NVM (nvm-windows)

What is NVM nvm (node.js version management) is a nodejs version management tool.? Note: The official nvm does not support windows, so windows need to install nvm-windows (hereinafter referred to as nvm) nvm-window download address: Releases · coreybutler/nvm-windows · GitHub The 8 downloaded files refer to: nvm-noinstall.zip: Green installation-free version, but configuration is required before […]

nvme_queue_rq function analysis one

Data interaction analysis during nvme I/O request The main function is nvme_queue_rq: static blk_status_t nvme_queue_rq(struct blk_mq_hw_ctx *hctx, const struct blk_mq_queue_data *bd) {<!– –> struct nvme_ns *ns = hctx->queue->queuedata; struct nvme_queue *nvmeq = hctx->driver_data; struct nvme_dev *dev = nvmeq->dev; struct request *req = bd->rq; struct nvme_command cmnd; blk_status_t ret; if (unlikely(nvmeq->cq_vector < 0)) return BLK_STS_IOERR; ret […]