Unable to install sqlite3 on Mac (Catalina)
The packet can not be downloaded from the source and can not be build:
[out] > [email protected] install /Users/hasch/.node-red/node_modules/sqlite3
[out] > node-pre-gyp install --fallback-to-build
[out]
[err] node-pre-gyp
[err]
[err] WARN Using needle for node-pre-gyp https download
[err] node-pre-gyp
[err] WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v83-darwin-x64.tar.gz
[err] node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v83 ABI, unknown) (falling back to source compile with node-gyp)
[err] (node:46910) UnhandledPromiseRejectionWarning: Error: spawn Unknown system error -86
Please tell us about your environment:
- [ ] Node-RED version: 1.2.6
- [ ] node.js version: 14.15.4
- [ ] npm version: 6.14.11
- [ ] Platform/OS: MacOS Catalina 10.15.7
- [ ] Browser: Safari
There is no precompiled build for your combination of node.js version , operating system and the version of sqlite they want to install - so it tries to drop back to compiling it locally - to do that requires you have xcode installed and available on the Mac.
Thank you for your reply. I have XCode installed and available on my Mac but it doesn’t work, thus. I got plenty of errors.
Am 11.01.2021 um 13:23 schrieb Dave Conway-Jones [email protected]:
There is no precompiled build for your combination of node.js version , operating system and the version of sqlite they want to install - so it tries to drop back to compiling it locally - to do that requires you have xcode installed and available on the Mac.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/node-red/node-red-nodes/issues/730#issuecomment-757918264, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRZ3RYY6DPAB4KEUPHDUDTSZLUS3ANCNFSM4V5LNE5A.
sorry - I'm struggling to find anything about error code 86 - but as it says this is down to the sqlite3 library that is being used - so maybe need to raise it over there ?