abhinavs / cookie Goto Github PK
View Code? Open in Web Editor NEWLanding website + Blog using Jekyll & Tailwind CSS
Home Page: https://cookie-demo.netlify.app/
License: MIT License
Landing website + Blog using Jekyll & Tailwind CSS
Home Page: https://cookie-demo.netlify.app/
License: MIT License
Hi! First of all, let me congratulate you on your theme, it looks amazing.
I want to study the theme, so I cloned it on my Google Drive shared folder, where I have also done some limited testing of other themes and jekyll in general.
I am using:
/opt/homebrew/opt/ruby/bin/ruby
ruby 3.2.0 (2022-12-25 revision a528908271) [arm64-darwin22]
/usr/local/bin/jekyll
jekyll 4.3.1
The commands given in the readme replicate the error (anonymised user-specific fields):
./bin/bootstrap
./bin/start
and the error is the following
(base) ➜ cookie git:(master) ✗ ./bin/start
Configuration file: /Users/***/Library/CloudStorage/GoogleDrive-*****@gmail.com/Other computers/My Laptop/***/***/cookie/_config.yml
Source: /Users/***/Library/CloudStorage/GoogleDrive-*****@gmail.com/Other computers/My Laptop/***/***/cookie
Destination: /Users/***/Library/CloudStorage/GoogleDrive-*****@gmail.com/Other computers/My Laptop/***/***/cookie/_site
Incremental build: disabled. Enable with --incremental
Generating...
Jekyll Feed: Generating feed for posts
bundler: failed to load command: jekyll (/opt/homebrew/lib/ruby/gems/3.2.0/bin/jekyll)
/opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-postcss-v2-1.0.1/lib/jekyll-postcss-v2/hook.rb:32:in ``': No such file or directory - /Users/***/Library/CloudStorage/GoogleDrive-*****@gmail.com/Other (Errno::ENOENT)
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-postcss-v2-1.0.1/lib/jekyll-postcss-v2/hook.rb:32:in `process'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-postcss-v2-1.0.1/lib/jekyll-postcss-v2/hook.rb:42:in `block in <top (required)>'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-4.3.1/lib/jekyll/hooks.rb:103:in `block in trigger'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-4.3.1/lib/jekyll/hooks.rb:102:in `each'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-4.3.1/lib/jekyll/hooks.rb:102:in `trigger'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-minifier-0.1.10/lib/jekyll-minifier.rb:184:in `write'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:231:in `block in write'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:368:in `block (2 levels) in each_site_file'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:365:in `each'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:365:in `block in each_site_file'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:364:in `each'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:364:in `each_site_file'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:230:in `write'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-4.3.1/lib/jekyll/site.rb:82:in `process'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:28:in `process_site'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-4.3.1/lib/jekyll/commands/build.rb:65:in `build'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-4.3.1/lib/jekyll/commands/build.rb:36:in `process'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in `each'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-4.3.1/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/jekyll-4.3.1/exe/jekyll:15:in `<top (required)>'
from /opt/homebrew/lib/ruby/gems/3.2.0/bin/jekyll:25:in `load'
from /opt/homebrew/lib/ruby/gems/3.2.0/bin/jekyll:25:in `<top (required)>'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.3/lib/bundler/cli/exec.rb:58:in `load'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.3/lib/bundler/cli/exec.rb:58:in `kernel_load'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.3/lib/bundler/cli/exec.rb:23:in `run'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.3/lib/bundler/cli.rb:491:in `exec'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.3/lib/bundler/cli.rb:34:in `dispatch'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.3/lib/bundler/cli.rb:28:in `start'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.3/exe/bundle:45:in `block in <top (required)>'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.3/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
from /opt/homebrew/lib/ruby/gems/3.2.0/gems/bundler-2.4.3/exe/bundle:33:in `<top (required)>'
from /opt/homebrew/opt/ruby/bin/bundle:25:in `load'
from /opt/homebrew/opt/ruby/bin/bundle:25:in `<main>'
Let me know if there's anything else I can give to replicate the issue. Finally, no Google Drive is not full :P
Edit: I should mention that I tried the same in a local folder and it works without this error, and the site loads.
This must be the only web server I've ever seen, without a single console/network warning!
Please run
bundle add webrick
I can make a pull request, as you like
Cookie works fine for development. In production, only the home loads properly!
I tried creating the bin/publish
script for this. All built links to local pages fail with 404 errors.
Build fails to put the .html suffix on the end of href
values.
Hi, I copied your repository into my gitlab to practice my CI/CD skills.
Your project has some things that I was needed to think about a little more than just deployed a simple Jekyll Website (the template is already done in gitlab).
I was wondering if other people were interested in this. Can I add it to your project? If you want for sure.
Have a good Week
Hi there, thanks for your contribution of this beautiful theme.
After I ran bin/bootstrap
success , and then bin/start
,
Then I met a problem log like this:
192:cookie-master xxx$ bin/start
Configuration file: /Users/xxx/cookie-master/_config.yml
module.js:491
throw err;
^
Error: Cannot find module 'postcss'
at Function.Module._resolveFilename (module.js:489:15)
at Function.resolve (internal/module.js:18:19)
at Object.<anonymous> (/Library/Ruby/Gems/2.6.0/gems/jekyll-postcss-0.4.0/bin/postcss:3:33)
at Module._compile (module.js:573:30)
at Object.Module._extensions..js (module.js:584:10)
at Module.load (module.js:507:32)
at tryModuleLoad (module.js:470:12)
at Function.Module._load (module.js:462:3)
at Function.Module.runMain (module.js:609:10)
at startup (bootstrap_node.js:158:16)
Did I miss something or did something wrong?
If so, please give me some advice.
You can get some detail in my published Github Page
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.