Jekyll: ERROR files not found - jekyll

I just setup a local jekyll instance for github pages. After following all the instructions on GitHub and getting all the files into the local repository, I ran jekyll (sudo bundle exec jekyll serve).
I get the following errors:
^CSeans-MacBook-Air:docs-gh-pages seanmcintyre$ sudo bundle exec jekyll serve
Password:
Configuration file: none
Configuration file: none
Source: /Users/SnapRouteDocs/docs-gh-pages
Destination: /Users/SnapRouteDocs/docs-gh-pages/_site
Incremental build: disabled. Enable with --incremental
Generating...
done in 0.82 seconds.
Auto-regeneration: enabled for '/Users/SnapRouteDocs/docs-gh-pages'
Configuration file: none
Server address: http://127.0.0.1:4000/
Server running... press ctrl-c to stop.
[2017-04-13 13:35:12] ERROR `/_static/js/modernizr.min.js' not found.
[2017-04-13 13:35:12] ERROR `/_static/js/theme.js' not found.
[2017-04-13 13:35:12] ERROR `/_static/doctools.js' not found.
[2017-04-13 13:35:12] ERROR `/_static/jquery.js' not found.
[2017-04-13 13:35:12] ERROR `/_static/underscore.js' not found.
[2017-04-13 13:35:17] ERROR `/_static/css/theme.css' not found.
[2017-04-13 13:35:17] ERROR `/_static/jquery.js' not found.
[2017-04-13 13:35:17] ERROR `/_static/underscore.js' not found.
[2017-04-13 13:35:17] ERROR `/_static/doctools.js' not found.
[2017-04-13 13:35:17] ERROR `/_static/js/theme.js' not found.
I've checked and all the files are actually there.
How do I go about fixing this?

Prob because Jekyll doesn't know about them, so they're not compiling into the build folder, _site. Try adding this in the _config.yml file:
include:
- _static
If that doesn't work, just remove the underscore and Jekyll will automatically include in the build. That's prob best way anyway.

In addition to #keruilin's answer, Jekyll errors such as
ERROR `/resources/biokdd-review-nlp.htm' not found.
are sometimes simply due to a malformed web URL, in one of your Jekyll-built site pages that are open in your browser. Check the open webpages, and reload.
In my case (for instance) if I manually / erroneously open the malformed URL
127.0.0.1:4000/resources/biokdd-review-nlp. html
(note the space before .html I get that Jekyll error, until I correct the URL and reload the page.

Related

Yarn install results in the error "Internal Error: Expected an indexed object, got a string instead. Does your file follow Yaml's rules?"

When trying to run the command yarn install, the following error message is displayed:
"Internal Error: Expected an indexed object, got a string instead. Does your file follow Yaml's rules?"
My .yarnrc.yml is syntactically correct. What is the cause of the error?
Yarn v3.2.2
Node v16.14.0
Related discussion at github.com/yarnpkg/
Deleting the yarn.lock file from the same folder and running yarn install afterward solved the issue.

No files matching the pattern "**/*.{css,scss}" were found

I am using Github and linters and with style linters its showing me this error:
Error: No files matching the pattern "**/*.{css,scss}" were found.
at /home/runner/work/Microverse-Airline/Microverse-Airline/node_modules/stylelint/lib/standalone.js:212:12
at processTicksAndRejections (internal/process/task_queues.js:97:5)
Error: Process completed with exit code 1.
Here is the link to my github repository: https://github.com/saqibjavaiddev/Microverse-Airline/pull/24

PhpStorm: Failed loading xebug.so

When trying to debug a single PHP script, PhpStorm keeps complaining about xebug. I assume the correct name is xdebug, but I don't find a place where I have used xebug instead of xdebug including /etc/php.d/15-xdebug.ini and /etc/php.ini. I think this is a PhpStorm bug.
Does anyone know what this is caused by and how can I fix it?
Detailed console error:
/usr/bin/php -dzend_extension=/usr/lib64/php/modules/xebug.so -dxdebug.remote_enable=1 -dxdebug.remote_mode=req -dxdebug.remote_port=9000 -dxdebug.remote_host=127.0.0.1 myscript.phtml
Failed loading /usr/lib64/php/modules/xebug.so: /usr/lib64/php/modules/xebug.so: cannot open shared object file: No such file or directory

Moodle: Installation failed - Coding Error Detected

I have tried to install Moodle 3.5.1 on my development server (Apache 2.4.29 and MySQL v.5.7).
The installation process went smoothly: The MySQL database has been set up, all required PHP packages are installed, the system has been successfully installed, all file permissions are correct.
After the installation I only get the following error:
"Coding error detected, it must be fixed by a programmer: PHP catchable fatal error"
There are no further error messages. There are no error messages in Apache Error log or PHP log files. In the PHP ini file the display of error messages is activated.
So I can not figure out what did not work or how to fix it.
Put error_reporting(E_ALL); and ini_set('display_errors', 1); in the beggining of the script you see problem in for more debug info
Moodle 3.5 requires PHP 7
https://docs.moodle.org/35/en/PHP
Could that be your problem?

Jekyll Build Error for hmfaysal-omega-theme

I downloaded the Omega theme and try to start on my MAC:
But i get this error:
Configuration file: /Users/rname/jekyll/hmfaysal-omega-theme-gh-pages/_config.yml
Source: /Users/rname/jekyll/hmfaysal-omega-theme-gh-pages
Destination: /Users/rname/jekyll/hmfaysal-omega-theme-gh-pages/_site
Generating...
Build Warning: Layout 'none' requested in feed.xml does not exist.
jekyll 2.5.3 | Error: Operation not permitted # unlink_internal - /Users/rnagaraj/jekyll/hmfaysal-omega-theme-gh-pages/_site/LICENSE
As per this and this, try deleting the license file.