Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage
Highlighted

Error installing Confluence getting started in Mac - Sqlite3

I am being stuck at installing Confluence getting started plug-in in my mac.

Following are the errors related to sqlite3 & node-gyp. Need help.

--------------------------------------------------------------------------------------

node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.8/node-v59-darwin-x64.tar.gz 

node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.8 and node@9.5.0 (node-v59 ABI) (falling back to source compile with node-gyp) 

 

7 warnings and 3 errors generated.

make: *** [Release/obj.target/node_sqlite3/src/database.o] Error 1

gyp ERR! build error 

gyp ERR! stack Error: `make` failed with exit code: 2

gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)

gyp ERR! stack     at ChildProcess.emit (events.js:160:13)

gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)

gyp ERR! System Darwin 17.3.0

gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/<usr>/sample/node_modules/sqlite3/lib/binding/node-v59-darwin-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/Users/<usr>/sample/node_modules/sqlite3/lib/binding/node-v59-darwin-x64"

gyp ERR! cwd /Users/<usr>/sample/node_modules/sqlite3

gyp ERR! node -v v9.5.0

gyp ERR! node-gyp -v v3.6.2

gyp ERR! not ok 

node-pre-gyp ERR! build error 

node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/<usr>/sample/node_modules/sqlite3/lib/binding/node-v59-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/<usr>/sample/node_modules/sqlite3/lib/binding/node-v59-darwin-x64' (1)

node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/<usr>/sample/node_modules/node-pre-gyp/lib/util/compile.js:83:29)

node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:160:13)

node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:943:16)

node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)

node-pre-gyp ERR! System Darwin 17.3.0

node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/<usr>/sample/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"

node-pre-gyp ERR! cwd /Users/<usr>/sample/node_modules/sqlite3

node-pre-gyp ERR! node -v v9.5.0

node-pre-gyp ERR! node-pre-gyp -v v0.6.31

node-pre-gyp ERR! not ok 

Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/<usr>/sample/node_modules/sqlite3/lib/binding/node-v59-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/<usr>/sample/node_modules/sqlite3/lib/binding/node-v59-darwin-x64' (1)

npm WARN sqlite3@3.1.8 had bundled packages that do not match the required version(s). They have been replaced with non-bundled versions.

 

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! sqlite3@3.1.8 install: `node-pre-gyp install --fallback-to-build`

npm ERR! Exit status 1

npm ERR! 

npm ERR! Failed at the sqlite3@3.1.8 install script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

 

1 comment

I'm getting the same error on a Windows machine

Node v9.9.0; npm v5.8.0

Happened during "npm start"

I tried the steps posted here: https://github.com/mapbox/node-sqlite3/wiki/Binaries

npm i sqlite3 --build-from-source=sqlite3

Then ran `npm i` again - and it didn't work - same error.

Looks like a problem with ..\src\statement.cc(103): error C2664...

Found a workaround. Apparently, Node v9 is the issue. If you downgrade to Node v8, it should work.

Comment

Log in or Sign up to comment
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

463 views 24 9
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you