You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you checked that your issue isn't already filed?
I read through FAQ and searched through the past issues, none of which addressed my issue.
Yes, I have checked that this issue isn't already filed.
Bug description
Deploy fail at Install and Build phase (GH Pages)
How to reproduce the bug
I have been following all the provided documentation: used the Docker dev container in VS Code like INSTALL.md describes and had success seeing my custom site stuff on my localhost browser preview. However, after about a dozen tries deploying repo on GitHub Pages -- even using the GH Copilot AI chatbot "Explain Error" feature each time too!! -- the fails all seem to occur after a minute or two of inactivity at the [NbConvertApp] lines. But... I know better than to believe that's the sole source of the fail issue.
Below I will paste lines number 741 through the end of the deploy log to show that spot where it suddenly all hangs up for a couple minutes and then spits out the remaining lines with oh so helpful last one:
"Error exit code 1".
I am at this point so stumped and feeling defeated and exhausted.
Error messages and logs
36 │ @return unquote("\"")+unquote(str-insert($str, "\\", 1))+unquote("\"")
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
tabler-icons/tabler-icons.scss 36:33 unicode()
tabler-icons/tabler-icons.scss 40:15 @import
/home/runner/work/acfolio/acfolio/assets/css/main.scss 19:3 root stylesheet
WARNING: 39 repetitive deprecation warnings omitted.
Run in verbose mode to see all warnings.
[NbConvertApp] Converting notebook /tmp/jekyll-jupyter-notebook20250305-3585-qaeecl.ipynb to html
/opt/hostedtoolcache/Python/3.13.2/x64/lib/python3.13/site-packages/nbconvert/filters/highlight.py:71: UserWarning: IPython3 lexer unavailable, falling back on Python 3
return _pygments_highlight(
------------------------------------------------
Jekyll 4.3.4 Please append `--trace` to the `build` command
for any additional information or backtrace.
------------------------------------------------
/home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/uglifier-4.2.1/lib/uglifier.rb:291:in `parse_result': Unexpected token: keyword (const). To use ES6 syntax, harmony mode must be enabled with Uglifier.new(:harmony => true). (Uglifier::Error)
--
1 // get the ninja-keys element
=> const ninja = document.querySelector('ninja-keys');
3
4 // add the home and posts menu items
5 ninja.data = [{
6 id: "nav-about",
7 title: "About",
8 section: "Navigation",
9 handler: () => {
10 window.location.href = "/acfolio/";
==
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/uglifier-4.2.1/lib/uglifier.rb:221:in `run_uglifyjs'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/uglifier-4.2.1/lib/uglifier.rb:166:in `compile'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/jekyll-minifier-0.1.10/lib/jekyll-minifier.rb:102:in `output_js'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/jekyll-minifier-0.1.10/lib/jekyll-minifier.rb:21:in `output_compressed'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/jekyll-minifier-0.1.10/lib/jekyll-minifier.rb:182:in `write'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/site.rb:231:in `block in write'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/site.rb:363:in `block in each_site_file'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/site.rb:363:in `each'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/site.rb:363:in `each_site_file'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/site.rb:230:in `write'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/site.rb:82:in `process'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/command.rb:28:in `process_site'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/commands/build.rb:65:in `build'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/commands/build.rb:36:in `process'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/command.rb:91:in `each'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/commands/build.rb:18:in `block (2 levels) in init_with_program'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/exe/jekyll:15:in `<top (required)>'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/bin/jekyll:25:in `load'
from /home/runner/work/acfolio/acfolio/vendor/bundle/ruby/3.3.0/bin/jekyll:25:in `<top (required)>'
from /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/bundler-2.6.2/lib/bundler/cli/exec.rb:59:in `load'
from /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/bundler-2.6.2/lib/bundler/cli/exec.rb:59:in `kernel_load'
from /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/bundler-2.6.2/lib/bundler/cli/exec.rb:23:in `run'
from /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/bundler-2.6.2/lib/bundler/cli.rb:452:in `exec'
from /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/bundler-2.6.2/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
from /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/bundler-2.6.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/bundler-2.6.2/lib/bundler/vendor/thor/lib/thor.rb:538:in `dispatch'
from /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/bundler-2.6.2/lib/bundler/cli.rb:35:in `dispatch'
from /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/bundler-2.6.2/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
from /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/bundler-2.6.2/lib/bundler/cli.rb:29:in `start'
from /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/bundler-2.6.2/exe/bundle:28:in `block in <top (required)>'
from /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/bundler-2.6.2/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
from /opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/gems/3.3.0/gems/bundler-2.6.2/exe/bundle:20:in `<top (required)>'
from /opt/hostedtoolcache/Ruby/3.3.5/x64/bin/bundle:25:in `load'
from /opt/hostedtoolcache/Ruby/3.3.5/x64/bin/bundle:25:in `<main>'
Error: Process completed with exit code 1.
We recommend first setting up your site remotely, deploy an exact copy of the demo site, and only then clone it locally and customize it. Also do small, incremental updates, so it is easier to pinpoint which changes caused the issue.
At this point it is hard to find your issue. My recommendation is, copy your code locally, then start all over. Do the recommended steps first, then try to add your changes step by step, always checking if the site builds correctly on the GitHub pages.
Hi George, thanks for the response. I have followed your instructions.
It now appears that "Uglifier" is causing my deploy to fail.
Is that plug-in absolutely necessary??
Have you checked that your issue isn't already filed?
Bug description
Deploy fail at Install and Build phase (GH Pages)
How to reproduce the bug
I have been following all the provided documentation: used the Docker dev container in VS Code like INSTALL.md describes and had success seeing my custom site stuff on my localhost browser preview. However, after about a dozen tries deploying repo on GitHub Pages -- even using the GH Copilot AI chatbot "Explain Error" feature each time too!! -- the fails all seem to occur after a minute or two of inactivity at the [NbConvertApp] lines. But... I know better than to believe that's the sole source of the fail issue.
Below I will paste lines number 741 through the end of the deploy log to show that spot where it suddenly all hangs up for a couple minutes and then spits out the remaining lines with oh so helpful last one:
"Error exit code 1".
I am at this point so stumped and feeling defeated and exhausted.
Error messages and logs
What operating system are you using?
Windows
Where are you seeing the problem on?
Deployed site
More info
Here's my slightly differing
deploy.yml
:The text was updated successfully, but these errors were encountered: