I’m running the course in my local machine called qw and get the following message in Chrome.
Mixed Content: The page at ‘https://qw/src/wp-admin/post-new.php’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/cssfamily=Archivo+Black|PT+Sans:400italic,700italic,400,700’.
This request has been blocked; the content must be served over HTTPS.
I realise the problem is to do with the scheme on the import statement in some .scss files, so I have changed it to
@import url(https://fonts.googleapis.com/css?family=Archivo+Black|PT+Sans:400italic,700italic,400,700);
I have two problems
1. How do I change it work correctly regardless of scheme ( https or http )?
2. npm run build seems to halt in sass-loader. I believe this is a known problem but can’t find the fix on my Windows machine.
Setting UV_THREADPOOL_SIZE=100 doesn’t resolve the problem, but commenting out the imports for .scss files does allow the build to complete, sometimes.