35bf9bb0d34ed4e373cf12eeb5e8ff3ef55d7e84
Gitcub / setup-notes.txt
After uninstalling the native versions of nodejs and npm from debian 10, I installed nodejs 16.14.0 thus:

cd ~
curl -sL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt-get install -y nodejs

From the project directory I initialized the project and installed express.js and pug using a special option to avoid a stupid error:

npm init
npm install express --no-bin-links
npm install pug --no-bin-links

At this point I moved this directory from my nas to 'Desktop'. The nas may have been responsible for the bin-linking error above.

I then setup sqlite; the then current npm package required an audit fix, resulting in its downgrade to 4.2.0:

sudo apt install sqlite3
npm install sqlite3
npm audit fix --force
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21