Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime
最开始安装的最新版v16.5.0
降级到v14后重新安装依赖后正常运行
...
4年前 (2021-07-18)
喜欢
在 CentOS/RHEL 8 和 Fedora 系统中,Node.js 作为 nodejs 模块而变得可用。
dnf module install nodejs:<stream>
这里的 对应了 Node.js 的主版本。 可以使用如下命令查看可用流的列表:
d...
4年前 (2021-07-16)
喜欢
mac 关闭所有node进程
pkill node
sudo pkill node
...
4年前 (2021-07-08)
喜欢
安装
npm i koa-cors --save
代码
const Koa = require('koa');
const cors = require('koa-cors')
const app = new Koa();
app.use(cor...
4年前 (2021-05-12)
喜欢
工具 n
安装
sudo npm install -g n
使用
使用sudo 安装 nodejs
sudo n latest
切换node版本
n
...
4年前 (2021-01-13)
喜欢
将npm源改为淘宝源后
然后重新创建项目顺利创建完成
...
4年前 (2021-01-10)
喜欢
npm的默认源一般都比较慢,为了能够提升npm安装依赖的速度,我们可以将源设置为国内的。
临时设置淘宝源
npm --registry https://registry.npm.taobao.org i express
永久设置淘宝源
npm conf set registr...
4年前 (2021-01-10)
喜欢
Electron
Electron允许web程序员用Javascript、HTML、CSS来编写运行于Windows、macOS、Linux跨平台的桌面应用
环境安装Node.js
node.js下载最新稳定版本
安装Electron
npm install -g electro...
4年前 (2021-01-09)
喜欢