【问题标题】:pouchdb-server - Install without sqlite3pouchdb-server - 在没有 sqlite3 的情况下安装
【发布时间】:2018-10-03 00:39:17
【问题描述】:

我正在尝试安装 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"

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

【问题讨论】:

  • ... user "root" does not have permission to ... 如果root没有权限,还有谁有?
  • 我使用的是 Ubuntu-16.04 AWS EC2 t2.medium 实例。我不知道如何使用超级用户权限。

标签: node.js sqlite pouchdb


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-06-23
    • 2015-01-18
    • 2014-01-01
    • 1970-01-01
    • 2014-09-05
    • 2021-12-22
    • 2017-11-21
    相关资源
    最近更新 更多