This error message does not indicate a problem with Ionic, but rather with node-sass, which is specified to execute in your Gulp file.
Try to run the below code
npm rebuild node-sass
(with -g if node-sass was installed globally).
If it didn’t rectify the issue then
npm uninstall node-sass
&&
npm install node-sass
(again, with -g if necessary).
Then run npm audit fix –force
Now try to run gulp extension:local or gulp theme:local.