Dev Setup gives errors when yarn install is run

I had Joplin installed but the web-clipper wouldn't work, and thought to reinstall Joplin. However, when reinstalling, I'm getting the following errors when running yarn install. I also read in a StackOverflow answer to run npm install, followed by yarn install that would fix it, but it still gives the same errors.

Errors:

vbuntu@vbuntu:~/Desktop/Vatsal/Programming/open-source-contributions/joplin$ node -v
v19.0.0
vbuntu@vbuntu:~/Desktop/Vatsal/Programming/open-source-contributions/joplin$ yarn install
āž¤ YN0000: ā”Œ Resolution step
āž¤ YN0000: ā”” Completed in 1s 303ms
āž¤ YN0000: ā”Œ Fetch step
āž¤ YN0000: ā”” Completed in 3s 821ms
āž¤ YN0000: ā”Œ Link step
āž¤ YN0007: ā”‚ @joplin/app-clipper@workspace:packages/app-clipper must be built because it never has been before or the last one failed
āž¤ YN0007: ā”‚ husky@npm:3.1.0 must be built because it never has been before or the last one failed
āž¤ YN0007: ā”‚ keytar@npm:7.9.0 must be built because it never has been before or the last one failed
āž¤ YN0007: ā”‚ sharp@npm:0.32.5 must be built because it never has been before or the last one failed
āž¤ YN0007: ā”‚ sqlite3@npm:5.1.6 [ea905] must be built because it never has been before or the last one failed
āž¤ YN0007: ā”‚ @fortawesome/fontawesome-free@npm:5.15.4 must be built because it never has been before or the last one failed
āž¤ YN0007: ā”‚ electron@npm:25.8.1 must be built because it never has been before or the last one failed
āž¤ YN0007: ā”‚ @fortawesome/fontawesome-common-types@npm:0.2.36 must be built because it never has been before or the last one failed
āž¤ YN0007: ā”‚ @fortawesome/fontawesome-common-types@npm:6.1.2 must be built because it never has been before or the last one failed
^Cāž¤ YN0009: ā”‚ sqlite3@npm:5.1.6 [ea905] couldn't be built successfully (exit code 129, logs can be found here: /tmp/xfs-a6c3ebe7/build.log)
āž¤ YN0009: ā”‚ sqlite3@npm:5.1.6 [ea905] couldn't be built successfully (exit code 129, logs can be found here: /tmp/xfs-30edd3d5/build.log)
āž¤ YN0009: ā”‚ sqlite3@npm:5.1.6 [ea905] couldn't be built successfully (exit code 129, logs can be found here: /tmp/xfs-bd44b329/build.log)
āž¤ YN0009: ā”‚ sqlite3@npm:5.1.6 [ea905] couldn't be built successfully (exit code 129, logs can be found here: /tmp/xfs-39322b5f/build.log)
āž¤ YN0009: ā”‚ sqlite3@npm:5.1.6 [ea905] couldn't be built successfully (exit code 129, logs can be found here: /tmp/xfs-655c061c/build.log)
1 Like

What errors are in the build.log file?

Hi, here's what's there in one of the sqlite log files. The log files for all the issues are similar to this:

# This file contains the result of Yarn building a package (sqlite3@virtual:ea905facafa672edd4ca6ebe811ab4147a7111a450556bbd4dd4fb8ba9d210a2390363e464760eaa3fbdf0715da61706a598d3f51450dfbadcf2f95b9d4d954f#npm:5.1.6)
# Script name: install

node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@1.0.10
node-pre-gyp info using node@19.0.0 | linux | x64
node-pre-gyp info check checked for "/home/vbuntu/Desktop/Vatsal/Programming/open-source-contributions/joplin/packages/tools/node_modules/sqlite3/lib/binding/napi-v6-linux-glibc-x64/node_sqlite3.node" (not found)
node-pre-gyp http GET https://github.com/TryGhost/node-sqlite3/releases/download/v5.1.6/napi-v6-linux-glibc-x64.tar.gz
node-pre-gyp info install unpacking napi-v6-linux-glibc-x64/node_sqlite3.node

I don't think this is the root cause. Check further down the log or paste it full.

the log file contains only this much information.


i also haven't encountered any problems as such because of these incomplete builds.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.