我正在尝试按照以下说明安装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 ?
答案 0 :(得分:1)
您是否有机会运行NodeJS版本9?我最近也开始使用ACE库,发现其中一个依赖项sqlite并没有在这个主要版本的NodeJS下安装。作为现在的解决方法,我建议您切换回NodeJS版本8,直到修复为止。希望有所帮助!