简体   繁体   English

pouchdb-server-不安装sqlite3进行安装

[英]pouchdb-server - Install without sqlite3

I am trying to install pouchdb-server as shown below: 我正在尝试安装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

The installation is stuck in an infinite loop with sqlite3 . 安装与sqlite3陷入无限循环。 The following message appears repeatedly. 以下消息反复出现。

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"

How do I get rid of these messages for a successful installation? 如何摆脱这些消息以成功安装?

The following rids the errors mentioned above. 以下内容消除了上面提到的错误。 sudo npm install -g pouchdb-server --ignore-scripts

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM