pouchdb-server语言 - Install without sqlite3



我正在尝试安装pouchdb-server,如下所示:

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs build-essential
sudo npm install -g pouchdb-server

使用sqlite3,安装卡在无限环中。以下消息反复出现。

gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/pouchdb-server/node_modules/sqlite3/.node-gyp"
gyp WARN EACCES user "root" does not have permission to access the dev dir "/usr/lib/node_modules/pouchdb-server/node_modules/sqlite3/.node-gyp/8.11.1"

如何摆脱这些消息以成功安装?

以下删除了上述错误。 sudo npm install -g pouchdb-server --ignore-scripts

最新更新