267ec88ca5e257e8028daf2b594c334f681b4ae2
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
I then installed next.js and turned off its sickening telemetry anti-feature:
npm install next react react-dom
npx next telemetry disable
I then installed nodegit, which unfortunately required a seperate package:
sudo apt-get install libkrb5-dev
npm install nodegit
I then installed and initialized tailwind css:
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
I then installed highlight.js:
npm install highlight.js
npm audit fix --force
React icons:
npm install react-icons
React markdown and remark gfm:
npm install react-markdown
npm install remark-gfm
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50