I'm referring to this:
With the current dev HEAD (0c6780562), I get the following error when doing a npm i:
Error: Cannot find module '@joplin/tools/tool-utils'
Require stack:
- /Users/tessus/data/work/joplin/packages/app-mobile/tools/prepareRelease.js
- /Users/tessus/data/work/joplin/packages/app-mobile/gulpfile.js
- /Users/tessus/data/work/joplin/packages/app-mobile/node_modules/gulp/node_modules/gulp-cli/lib/shared/require-or-import.js
- /Users/tessus/data/work/joplin/packages/app-mobile/node_modules/gulp/node_mod…
and this:
opened 11:12PM - 17 Jan 21 UTC
closed 02:51PM - 18 Jan 21 UTC
I have reams and reams of logs from `npm install` failing, but ultimately doing … the following seemed to fix the problem:
1. `sudo apt install python`
> This was because [`node-sqlite3`](https://github.com/mapbox/node-sqlite3) didn't have a binary for Ubuntu x64, and building it from scratch required `python`, i.e. `python2-as-python`.
2. `sudo npm install --global jetifier`
`sudo npm install --global gulp`
`sudo npm install --global rollup`
> I first ran `sudo npm install --global lerna` and then ran `lerna bootstrap --no-ci` to find each of these broken dependencies. `lerna` could not find any of these three packages unless they were installed globally, so perhaps some aspect of the build script is not calling them correctly for when they are installed only within the project directory.
I never actually finished anything with the code referenced in this thread because, again, I burned out, both due to being overly ambitious and due to unrelated medical issues. If I went back to working on what I had been working on back in October, I would probably more or less start from scratch.