Open maiya-22 opened 1 year ago
This course uses an outdated version of gulp and node, which causes those build errors. I use Ubuntu 22.10, and to get it to work, I needed to:
apt install python2
npm install node@14.21.3
from the project root folder.Note that using older versions of node and npm packages is a security risk!
Location in lesson where error occurs:
Lesson 19: updating our npm scripts
Git branches where error is occuring:
before attempt to fix anything: https://github.com/maiya-22/learning-repo__learn-11ty-from-scratch/tree/Lesson-19
after attempt to update modules and gulpfile.js: https://github.com/maiya-22/learning-repo__learn-11ty-from-scratch/tree/Lesson-19-error-fix
instructions state to run:
npm install gulp-clean-css gulp-sass@4.1.0 sass
error message in terminal message is long, so click link to see full: link to first error messageThen, after running start script as:
"scripts": { "start": "npx gulp && concurrently \"npx gulp watch\" \"npx eleventy --serve\"", },
link to second error message
Then, after attempt to install missing modules and update gulpFile.js: