随笔分类 -  NodeJS

使用nvm安装不同版本的NodeJS
摘要:下载及安装 下载地址:https://github.com/coreybutler/nvm-windows/releases 配置nodejs的镜像地址 nvm node_mirror https://npmmirror.com/mirrors/node/ nvm npm_mirror https: 阅读全文

posted @ 2023-01-09 23:09 白首码农 阅读(174) 评论(0) 推荐(0)

GitBook的使用备忘
摘要:GitBook环境搭建 npm install -g gitbook-cli # 新建目录,如helloworld cd helloworld # 执行此语句,需等待一段时间 gitbook init # 启动服务 gitbook serve 遇到问题 TypeError: cb.apply is 阅读全文

posted @ 2023-01-09 23:07 白首码农 阅读(49) 评论(0) 推荐(0)

NodeJS的安装
摘要:前言 虽然这些东西很基本也很简单,但是过段时间就会遗忘,有空记录下吧,反正也不耗费多少时间,后期至少比百度快点。 安装步骤 Linux下的安装 下载安装包 下载地址:http://nodejs.cn/download/ 解压文件 tar xf node-v16.17.0-linux-x64.tar. 阅读全文

posted @ 2022-09-25 09:01 白首码农 阅读(39) 评论(0) 推荐(0)

Windows下升级NodeJs
摘要:问题描述 有段时间没玩,在创建react项目时,报如下错误 error @typescript-eslint/eslint-plugin@5.22.0: The engine "node" is incompatible with this module. Expected version "^12 阅读全文

posted @ 2022-05-05 06:54 白首码农 阅读(122) 评论(0) 推荐(0)