0

我正在尝试按照以下说明安装 Atlassian Connect Express (ACE):

https://developer.atlassian.com/cloud/confluence/getting-started/#install-ace

当我到达npm install步骤时,它会引发此错误:

node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.4/node-v59-darwin-x64.tar.gz
node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.4/node-v59-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download: https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.4/node-v59-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.4 and node@9.4.0 (node-v59 ABI) (falling back to source compile with node-gyp) 
node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.4/node-v59-darwin-x64.tar.gz 
node-pre-gyp verb command build [ 'rebuild' ]
  ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c
  TOUCH Release/obj.target/deps/action_before_build.stamp
  CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3090100/sqlite3.o
Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c:9704:26: warning: unused variable 'sqlite3one' [-Wunused-const-variable]
SQLITE_PRIVATE const int sqlite3one = 1;
                         ^
^Cmake: *** [Release/obj.target/sqlite3/gen/sqlite-autoconf-3090100/sqlite3.o] Interrupt: 2

我应该怎么做才能让ACE正确安装?

4

1 回答 1

1

您是否有机会运行 NodeJS 版本 9?我最近也开始使用 ACE 库,发现其中一个依赖项 sqlite 没有安装在这个主要版本的 NodeJS 下。作为目前的解决方法,我建议您切换回 NodeJS 版本 8,直到此问题得到修复。希望有帮助!

于 2018-03-30T18:25:38.127 回答