jarrekk/Jalpc

can't deploy to netlify.

shabbir-hasan opened this issue · 0 comments

HI There,

I have forked your repo, to create a personal website like yours, It works perfectly alright when using github pages (https://shabbir-hasan.github.io)

but unfortunately it's not deploying to netlify (https://www.shabbir.pw), Can anybody just advise what is going wrong...

**

/opt/build/build.sh: line 468: jekyll: command not found
2:16:11 PM: Cached NPM modules
2:16:13 PM: Build complete: exit code: 127

**

2:15:54 PM: Build ready to start
2:15:55 PM: Fetching cached dependencies
2:15:55 PM: No cached dependencies found. Cloning fresh repo
2:15:55 PM: git clone git@github.com:shabbir-hasan/shabbir-hasan.github.io
2:15:57 PM: git remote rm origin
2:15:57 PM: Preparing Git Reference refs/heads/master
2:15:58 PM: Running build command: jekyll build
2:15:59 PM: v6.12.0 is already installed.
2:16:00 PM: Now using node v6.12.0 (npm v3.10.10)
2:16:00 PM: Using version v6.12.0 of node
2:16:00 PM: Using /opt/buildhome/.rvm/gems/ruby-2.1.2
2:16:01 PM: Installing NPM modules using NPM version 3.10.10
2:16:10 PM: Jalpc@1.1.1 /opt/build/repo
├── animate.css@3.5.2 
├── bootstrap@3.3.7 
├─┬ chart.js@2.7.1 
│ ├─┬ chartjs-color@2.2.0 
│ │ ├─┬ chartjs-color-string@0.5.0 
│ │ │ └── color-name@1.1.3 
│ │ └── color-convert@0.5.3 
│ └── moment@2.18.1 
├─┬ clean-css@4.1.9 
│ └── source-map@0.5.7 
├── colors@1.1.2 
├── components-font-awesome@4.7.0 
├── font-mfizz@2.4.1 
├── gritter@1.7.4 
├── jquery@2.2.4 
├── jquery-slimscroll@1.3.8 
├── metismenu@2.7.1 
├── normalize.css@4.2.0 
├── pace-progress@1.0.2 
├── peity@3.2.1 
├─┬ purify-css@1.2.5 
│ ├─┬ glob@7.1.2 
│ │ ├── fs.realpath@1.0.0 
│ │ ├─┬ inflight@1.0.6 
│ │ │ └── wrappy@1.0.2 
│ │ ├── inherits@2.0.3 
│ │ ├─┬ minimatch@3.0.4 
│ │ │ └─┬ brace-expansion@1.1.8 
│ │ │   ├── balanced-match@1.0.0 
│ │ │   └── concat-map@0.0.1 
│ │ ├── once@1.4.0 
│ │ └── path-is-absolute@1.0.1 
│ ├─┬ rework@1.0.1 
│ │ ├── convert-source-map@0.3.5 
│ │ └─┬ css@2.2.1 
│ │   ├─┬ source-map@0.1.43 
│ │   │ └── amdefine@1.0.1 
│ │   ├─┬ source-map-resolve@0.3.1 
│ │   │ ├── atob@1.1.3 
│ │   │ ├── resolve-url@0.2.1 
│ │   │ └── source-map-url@0.3.0 
│ │   └── urix@0.1.0 
│ └─┬ yargs@8.0.2 
│   ├── camelcase@4.1.0 
│   ├─┬ cliui@3.2.0 
│   │ ├─┬ string-width@1.0.2 
│   │ │ ├── code-point-at@1.1.0 
│   │ │ └─┬ is-fullwidth-code-point@1.0.0 
│   │ │   └── number-is-nan@1.0.1 
│   │ ├─┬ strip-ansi@3.0.1 
│   │ │ └── ansi-regex@2.1.1 
│   │ └─┬ wrap-ansi@2.1.0 
│   │   └── string-width@1.0.2 
│   ├── decamelize@1.2.0 
│   ├── get-caller-file@1.0.2 
│   ├─┬ os-locale@2.1.0 
│   │ ├─┬ execa@0.7.0 
│   │ │ ├─┬ cross-spawn@5.1.0 
│   │ │ │ ├─┬ lru-cache@4.1.1 
│   │ │ │ │ ├── pseudomap@1.0.2 
│   │ │ │ │ └── yallist@2.1.2 
│   │ │ │ ├─┬ shebang-command@1.2.0 
│   │ │ │ │ └── shebang-regex@1.0.0 
│   │ │ │ └─┬ which@1.3.0 
│   │ │ │   └── isexe@2.0.0 
│   │ │ ├── get-stream@3.0.0 
│   │ │ ├── is-stream@1.1.0 
│   │ │ ├─┬ npm-run-path@2.0.2 
│   │ │ │ └── path-key@2.0.1 
│   │ │ ├── p-finally@1.0.0 
│   │ │ ├── signal-exit@3.0.2 
│   │ │ └── strip-eof@1.0.0 
│   │ ├─┬ lcid@1.0.0 
│   │ │ └── invert-kv@1.0.0 
│   │ └─┬ mem@1.1.0 
│   │   └── mimic-fn@1.1.0 
│   ├─┬ read-pkg-up@2.0.0 
│   │ ├─┬ find-up@2.1.0 
│   │ │ └─┬ locate-path@2.0.0 
│   │ │   ├─┬ p-locate@2.0.0 
│   │ │   │ └── p-limit@1.1.0 
│   │ │   └── path-exists@3.0.0 
│   │ └─┬ read-pkg@2.0.0 
│   │   ├─┬ load-json-file@2.0.0 
│   │   │ ├── graceful-fs@4.1.11 
│   │   │ ├─┬ parse-json@2.2.0 
│   │   │ │ └─┬ error-ex@1.3.1 
│   │   │ │   └── is-arrayish@0.2.1 
│   │   │ ├── pify@2.3.0 
│   │   │ └── strip-bom@3.0.0 
│   │   ├─┬ normalize-package-data@2.4.0 
│   │   │ ├── hosted-git-info@2.5.0 
│   │   │ ├─┬ is-builtin-module@1.0.0 
│   │   │ │ └── builtin-modules@1.1.1 
│   │   │ ├── semver@5.4.1 
│   │   │ └─┬ validate-npm-package-license@3.0.1 
│   │   │   ├─┬ spdx-correct@1.0.2 
│   │   │   │ └── spdx-license-ids@1.2.2 
│   │   │   └── spdx-expression-parse@1.0.4 
│   │   └── path-type@2.0.0 
│   ├── require-directory@2.1.1 
│   ├── require-main-filename@1.0.1 
│   ├── set-blocking@2.0.0 
│   ├─┬ string-width@2.1.1 
│   │ ├── is-fullwidth-code-point@2.0.0 
│   │ └─┬ strip-ansi@4.0.0 
│   │   └── ansi-regex@3.0.0 
│   ├── which-module@2.0.0 
│   ├── y18n@3.2.1 
│   └── yargs-parser@7.0.0 
├─┬ shelljs@0.7.8 
│ ├── interpret@1.1.0 
│ └─┬ rechoir@0.6.2 
│   └─┬ resolve@1.5.0 
│     └── path-parse@1.0.5 
├─┬ uglify-js@2.8.29 
│ ├── uglify-to-browserify@1.0.2 
│ └─┬ yargs@3.10.0 
│   ├── camelcase@1.2.1 
│   ├─┬ cliui@2.1.0 
│   │ ├─┬ center-align@0.1.3 
│   │ │ ├─┬ align-text@0.1.4 
│   │ │ │ ├─┬ kind-of@3.2.2 
│   │ │ │ │ └── is-buffer@1.1.6 
│   │ │ │ ├── longest@1.0.1 
│   │ │ │ └── repeat-string@1.6.1 
│   │ │ └── lazy-cache@1.0.4 
│   │ ├── right-align@0.1.3 
│   │ └── wordwrap@0.0.2 
│   └── window-size@0.1.0 
└─┬ wowjs@1.1.3 
  └── animate.css@3.5.2
2:16:10 PM: NPM modules installed
2:16:11 PM: /opt/build/build.sh: line 468: jekyll: command not found
2:16:11 PM: Cached NPM modules
2:16:13 PM: Build complete: exit code: 127
2:16:13 PM: Cleaning up docker container
2:16:13 PM: Error running command: Build script returned non-zero exit code: 127
2:16:13 PM: An error occurred while building the site, skipping the deploy and cache refresh.
2:16:14 PM: Build script returned non-zero exit code: 127
2:16:14 PM: Finished processing build request in 19.563064539s

build failing

# Actually i have got a workaround by adding a Gemfile containing these lines

source "https://rubygems.org"
gem 'jekyll', '~> 3.4.0'