-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
On running the command, I'm getting the following error:
╰─$ npm run rebuild
> sql.js@1.6.2 rebuild /Users/sanjuverma/Desktop/Projects/Library/sql.js
> npm run clean && npm run build
> sql.js@1.6.2 clean /Users/sanjuverma/Desktop/Projects/Library/sql.js
> make clean
rm -f out/* dist/* cache/*
rm -rf sqlite-src/
> sql.js@1.6.2 build /Users/sanjuverma/Desktop/Projects/Library/sql.js
> make
mkdir -p cache
curl -LsSf 'https://www.sqlite.org/2021/sqlite-amalgamation-3360000.zip' -o cache/sqlite-amalgamation-3360000.zip
mkdir -p cache
curl -LsSf 'https://www.sqlite.org/contrib/download/extension-functions.c?get=25' -o cache/extension-functions.c
mkdir -p sqlite-src/sqlite-amalgamation-3360000
echo 'c68fa706d6d9ff98608044c00212473f9c14892f ./cache/extension-functions.c' > cache/check.txt
sha1sum -c cache/check.txt
./cache/extension-functions.c: OK
cp 'cache/extension-functions.c' sqlite-src/sqlite-amalgamation-3360000/extension-functions.c
mkdir -p sqlite-src/sqlite-amalgamation-3360000
echo 'd25609210ec93b3c8c7da66a03cf82e2c9868cfbd2d7d866982861855e96f972 ./cache/sqlite-amalgamation-3360000.zip' > cache/check.txt
sha3sum -c cache/check.txt
sha3sum: algorithm parameter mismatch
make: *** [sqlite-src/sqlite-amalgamation-3360000] Error 2
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! sql.js@1.6.2 build: `make`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the sql.js@1.6.2 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/sanjuverma/.npm/_logs/2022-01-24T10_55_33_263Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! sql.js@1.6.2 rebuild: `npm run clean && npm run build`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the sql.js@1.6.2 rebuild script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/sanjuverma/.npm/_logs/2022-01-24T10_55_33_302Z-debug.log
I have not made any changes to the code at all. I'm just trying to rebuild with the support for FTS5 so that the only line added is in the Makefile. I can see that the error has something to do with sha3sum (sha3sum: algorithm parameter mismatch) but really not sure how to fix this. I'm pretty new to this, could someone help me understand what's going wrong.
joallard
Metadata
Metadata
Assignees
Labels
No labels