Gutenberg build error: You may need an appropriate loader to handle this file type SCSS

I ran these commands again and everything started to work again:

npm update    
npm install @wordpress/scripts --save-dev