Node.js 14安装sqlite3

Node.js 14安装sqlite3, Sequelize, apollo-datasource-rest

1 min read
By myfreax
Node.js 14安装sqlite3

如果你使用

Node.js 14的版本如何安装sqlite3包

npm config set registry https://registry.npmjs.org/
yarn config set registry https://registry.npmjs.org/
sed "/sqlite3/d" ~.npmrc #移除你设置的sqlite3镜像
npm i -S sqlite3@5.0.0
yarn add apollo-datasource-rest --unsafe-perm