I need advice to debug deploy Netlify App I amended the composer.json file but returned errors is this because I am a private repo?
Hi @Agadelic
Because you have a private repository, your deploy logs are also private so the community is unable to see the error. If you can post the relevant section of the log here that would help others debug your issue.
βError: Cannot cache /opt/build/repo because it is the current directory (/opt/build/repo) or a parent directoryβ hi I started Uni so it took a long time to come back sir the quoted readout is what I see in logs Iβm told I have no jekkyl gemfile do not know how to owrite one and this stuff happens
9:10:22 PM: Waiting for other deploys from your team to complete. Check the queue: Netlify App
9:10:54 PM: Build ready to start
9:10:56 PM: build-image version: 8925038cf853b22d6397cdcb9904ac88b66bb383 (focal)
9:10:56 PM: build-image tag: v4.5.0
9:10:56 PM: buildbot version: 8a3c565585bf7313c6ec1052fd212f83330bb917
9:10:56 PM: Fetching cached dependencies
9:10:56 PM: Failed to fetch cache, continuing with build
9:10:56 PM: Starting to prepare the repo for build
9:10:57 PM: No cached dependencies found. Cloning fresh repo
9:10:57 PM: git clone git@gitlab.com:Agadelic/Blackstarvirtualmint
9:11:01 PM: Preparing Git Reference refs/heads/master
9:11:02 PM: Parsing package.json dependencies
9:11:03 PM: Starting build script
9:11:03 PM: Installing dependencies
9:11:03 PM: Python version set to 2.7
9:11:04 PM: v16.13.0 is already installed.
9:11:04 PM: Now using node v16.13.0 (npm v8.1.0)
9:11:05 PM: Started restoring cached build plugins
9:11:05 PM: Finished restoring cached build plugins
9:11:05 PM: Attempting ruby version 2.7.2, read from environment
9:11:06 PM: Using ruby version 2.7.2
9:11:07 PM: Using PHP version 8.0
9:11:07 PM: Started restoring cached node modules
9:11:07 PM: Finished restoring cached node modules
9:11:07 PM: Installing NPM modules using NPM version 8.1.0
9:11:08 PM: up to date, audited 1 package in 346ms
9:11:08 PM: found 0 vulnerabilities
9:11:08 PM: NPM modules installed
9:11:09 PM: Started restoring cached composer dependencies
9:11:09 PM: Finished restoring cached composer dependencies
9:11:09 PM: No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See Basic usage - Composer for more information.
9:11:09 PM: Loading composer repositories with package information
9:11:10 PM: Updating dependencies
9:11:11 PM: Lock file operations: 73 installs, 0 updates, 0 removals
9:11:11 PM: - Locking amphp/amp (v2.6.1)
9:11:11 PM: - Locking amphp/byte-stream (v1.8.1)
9:11:11 PM: - Locking composer/package-versions-deprecated (1.11.99.4)
9:11:11 PM: - Locking composer/semver (3.2.6)
9:11:11 PM: - Locking composer/xdebug-handler (2.0.2)
9:11:11 PM: - Locking dnoegel/php-xdg-base-dir (v0.1.1)
9:11:11 PM: - Locking doctrine/instantiator (1.4.0)
9:11:11 PM: - Locking felixfbecker/advanced-json-rpc (v3.2.1)
9:11:11 PM: - Locking felixfbecker/language-server-protocol (1.5.1)
9:11:11 PM: - Locking guzzlehttp/guzzle (7.4.0)
9:11:11 PM: - Locking guzzlehttp/promises (1.5.1)
9:11:11 PM: - Locking guzzlehttp/psr7 (2.1.0)
9:11:11 PM: - Locking myclabs/deep-copy (1.10.2)
9:11:11 PM: - Locking netresearch/jsonmapper (v4.0.0)
9:11:11 PM: - Locking nikic/php-parser (v4.13.1)
9:11:11 PM: - Locking nimbly/capsule (1.1.2)
9:11:11 PM: - Locking nimbly/shuttle (0.4)
9:11:11 PM: - Locking openlss/lib-array2xml (1.0.0)
9:11:11 PM: - Locking phar-io/manifest (2.0.3)
9:11:11 PM: - Locking phar-io/version (3.1.0)
9:11:11 PM: - Locking php-coveralls/php-coveralls (v2.5.1)
9:11:11 PM: - Locking phpdocumentor/reflection-common (2.2.0)
9:11:11 PM: - Locking phpdocumentor/reflection-docblock (5.3.0)
9:11:11 PM: - Locking phpdocumentor/type-resolver (1.5.1)
9:11:11 PM: - Locking phpspec/prophecy (1.14.0)
9:11:11 PM: - Locking phpunit/php-code-coverage (9.2.9)
9:11:11 PM: - Locking phpunit/php-file-iterator (3.0.5)
9:11:11 PM: - Locking phpunit/php-invoker (3.1.1)
9:11:11 PM: - Locking phpunit/php-text-template (2.0.4)
9:11:11 PM: - Locking phpunit/php-timer (5.0.3)
9:11:11 PM: - Locking phpunit/phpunit (9.5.10)
9:11:11 PM: - Locking psr/container (2.0.2)
9:11:11 PM: - Locking psr/http-client (1.0.1)
9:11:11 PM: - Locking psr/http-factory (1.0.1)
9:11:11 PM: - Locking psr/http-message (1.0.1)
9:11:11 PM: - Locking psr/log (2.0.0)
9:11:11 PM: - Locking ralouphie/getallheaders (3.0.3)
9:11:11 PM: - Locking sebastian/cli-parser (1.0.1)
9:11:11 PM: - Locking sebastian/code-unit (1.0.8)
9:11:11 PM: - Locking sebastian/code-unit-reverse-lookup (2.0.3)
9:11:11 PM: - Locking sebastian/comparator (4.0.6)
9:11:11 PM: - Locking sebastian/complexity (2.0.2)
9:11:11 PM: - Locking sebastian/diff (4.0.4)
9:11:11 PM: - Locking sebastian/environment (5.1.3)
9:11:11 PM: - Locking sebastian/exporter (4.0.4)
9:11:11 PM: - Locking sebastian/global-state (5.0.3)
9:11:11 PM: - Locking sebastian/lines-of-code (1.0.3)
9:11:11 PM: - Locking sebastian/object-enumerator (4.0.4)
9:11:11 PM: - Locking sebastian/object-reflector (2.0.4)
9:11:11 PM: - Locking sebastian/recursion-context (4.0.4)
9:11:11 PM: - Locking sebastian/resource-operations (3.0.3)
9:11:11 PM: - Locking sebastian/type (2.3.4)
9:11:11 PM: - Locking sebastian/version (3.0.2)
9:11:11 PM: - Locking symfony/config (v6.0.0)
9:11:11 PM: - Locking symfony/console (v6.0.0)
9:11:11 PM: - Locking symfony/deprecation-contracts (v2.5.0)
9:11:11 PM: - Locking symfony/filesystem (v6.0.0)
9:11:11 PM: - Locking symfony/polyfill-ctype (v1.23.0)
9:11:11 PM: - Locking symfony/polyfill-intl-grapheme (v1.23.1)
9:11:11 PM: - Locking symfony/polyfill-intl-normalizer (v1.23.0)
9:11:11 PM: - Locking symfony/polyfill-mbstring (v1.23.1)
9:11:11 PM: - Locking symfony/polyfill-php72 (v1.23.0)
9:11:11 PM: - Locking symfony/polyfill-php80 (v1.23.1)
9:11:11 PM: - Locking symfony/polyfill-php81 (v1.23.0)
9:11:11 PM: - Locking symfony/service-contracts (v3.0.0)
9:11:11 PM: - Locking symfony/stopwatch (v6.0.0)
9:11:11 PM: - Locking symfony/string (v6.0.0)
9:11:11 PM: - Locking symfony/var-dumper (v4.4.34)
9:11:11 PM: - Locking symfony/yaml (v6.0.0)
9:11:11 PM: - Locking theseer/tokenizer (1.2.1)
9:11:11 PM: - Locking vimeo/psalm (4.13.1)
9:11:11 PM: - Locking webmozart/assert (1.10.0)
9:11:11 PM: - Locking webmozart/path-util (2.3.0)
9:11:11 PM: Writing lock file
9:11:11 PM: Installing dependencies from lock file (including require-dev)
9:11:11 PM: Package operations: 73 installs, 0 updates, 0 removals
9:11:11 PM: - Downloading composer/package-versions-deprecated (1.11.99.4)
9:11:11 PM: - Downloading guzzlehttp/promises (1.5.1)
9:11:11 PM: - Downloading ralouphie/getallheaders (3.0.3)
9:11:11 PM: - Downloading psr/http-message (1.0.1)
9:11:11 PM: - Downloading psr/http-factory (1.0.1)
9:11:11 PM: - Downloading guzzlehttp/psr7 (2.1.0)
9:11:11 PM: - Downloading psr/http-client (1.0.1)
9:11:11 PM: - Downloading nimbly/capsule (1.1.2)
9:11:11 PM: - Downloading nimbly/shuttle (0.4)
9:11:11 PM: - Downloading symfony/polyfill-ctype (v1.23.0)
9:11:11 PM: - Downloading symfony/yaml (v6.0.0)
9:11:11 PM: - Downloading psr/container (2.0.2)
9:11:11 PM: - Downloading symfony/service-contracts (v3.0.0)
9:11:11 PM: - Downloading symfony/stopwatch (v6.0.0)
9:11:11 PM: - Downloading symfony/polyfill-mbstring (v1.23.1)
9:11:11 PM: - Downloading symfony/polyfill-intl-normalizer (v1.23.0)
9:11:11 PM: - Downloading symfony/polyfill-intl-grapheme (v1.23.1)
9:11:11 PM: - Downloading symfony/string (v6.0.0)
9:11:11 PM: - Downloading symfony/console (v6.0.0)
9:11:11 PM: - Downloading symfony/polyfill-php81 (v1.23.0)
9:11:11 PM: - Downloading symfony/filesystem (v6.0.0)
9:11:11 PM: - Downloading symfony/deprecation-contracts (v2.5.0)
9:11:11 PM: - Downloading symfony/config (v6.0.0)
9:11:11 PM: - Downloading psr/log (2.0.0)
9:11:11 PM: - Downloading guzzlehttp/guzzle (7.4.0)
9:11:11 PM: - Downloading php-coveralls/php-coveralls (v2.5.1)
9:11:11 PM: - Downloading webmozart/assert (1.10.0)
9:11:11 PM: - Downloading phpdocumentor/reflection-common (2.2.0)
9:11:11 PM: - Downloading phpdocumentor/type-resolver (1.5.1)
9:11:11 PM: - Downloading phpdocumentor/reflection-docblock (5.3.0)
9:11:11 PM: - Downloading sebastian/version (3.0.2)
9:11:11 PM: - Downloading sebastian/type (2.3.4)
9:11:11 PM: - Downloading sebastian/resource-operations (3.0.3)
9:11:11 PM: - Downloading sebastian/recursion-context (4.0.4)
9:11:11 PM: - Downloading sebastian/object-reflector (2.0.4)
9:11:11 PM: - Downloading sebastian/object-enumerator (4.0.4)
9:11:11 PM: - Downloading sebastian/global-state (5.0.3)
9:11:11 PM: - Downloading sebastian/exporter (4.0.4)
9:11:11 PM: - Downloading sebastian/environment (5.1.3)
9:11:11 PM: - Downloading sebastian/diff (4.0.4)
9:11:11 PM: - Downloading sebastian/comparator (4.0.6)
9:11:11 PM: - Downloading sebastian/code-unit (1.0.8)
9:11:11 PM: - Downloading sebastian/cli-parser (1.0.1)
9:11:11 PM: - Downloading phpunit/php-timer (5.0.3)
9:11:11 PM: - Downloading phpunit/php-text-template (2.0.4)
9:11:11 PM: - Downloading phpunit/php-invoker (3.1.1)
9:11:11 PM: - Downloading phpunit/php-file-iterator (3.0.5)
9:11:11 PM: - Downloading theseer/tokenizer (1.2.1)
9:11:11 PM: - Downloading nikic/php-parser (v4.13.1)
9:11:11 PM: - Downloading sebastian/lines-of-code (1.0.3)
9:11:11 PM: - Downloading sebastian/complexity (2.0.2)
9:11:11 PM: - Downloading sebastian/code-unit-reverse-lookup (2.0.3)
9:11:11 PM: - Downloading phpunit/php-code-coverage (9.2.9)
9:11:11 PM: - Downloading doctrine/instantiator (1.4.0)
9:11:11 PM: - Downloading phpspec/prophecy (1.14.0)
9:11:11 PM: - Downloading phar-io/version (3.1.0)
9:11:11 PM: - Downloading phar-io/manifest (2.0.3)
9:11:11 PM: - Downloading myclabs/deep-copy (1.10.2)
9:11:11 PM: - Downloading phpunit/phpunit (9.5.10)
9:11:11 PM: - Downloading symfony/polyfill-php80 (v1.23.1)
9:11:11 PM: - Downloading symfony/polyfill-php72 (v1.23.0)
9:11:11 PM: - Downloading symfony/var-dumper (v4.4.34)
9:11:11 PM: - Downloading webmozart/path-util (2.3.0)
9:11:11 PM: - Downloading openlss/lib-array2xml (1.0.0)
9:11:11 PM: - Downloading netresearch/jsonmapper (v4.0.0)
9:11:11 PM: - Downloading felixfbecker/language-server-protocol (1.5.1)
9:11:11 PM: - Downloading felixfbecker/advanced-json-rpc (v3.2.1)
9:11:11 PM: - Downloading dnoegel/php-xdg-base-dir (v0.1.1)
9:11:11 PM: - Downloading composer/xdebug-handler (2.0.2)
9:11:11 PM: - Downloading composer/semver (3.2.6)
9:11:11 PM: - Downloading amphp/amp (v2.6.1)
9:11:11 PM: - Downloading amphp/byte-stream (v1.8.1)
9:11:11 PM: - Downloading vimeo/psalm (4.13.1)
9:11:12 PM: - Installing composer/package-versions-deprecated (1.11.99.4): Extracting archive
9:11:12 PM: - Installing guzzlehttp/promises (1.5.1): Extracting archive
9:11:12 PM: - Installing ralouphie/getallheaders (3.0.3): Extracting archive
9:11:12 PM: - Installing psr/http-message (1.0.1): Extracting archive
9:11:12 PM: - Installing psr/http-factory (1.0.1): Extracting archive
9:11:12 PM: - Installing guzzlehttp/psr7 (2.1.0): Extracting archive
9:11:12 PM: - Installing psr/http-client (1.0.1): Extracting archive
9:11:12 PM: - Installing nimbly/capsule (1.1.2): Extracting archive
9:11:12 PM: - Installing nimbly/shuttle (0.4): Extracting archive
9:11:12 PM: - Installing symfony/polyfill-ctype (v1.23.0): Extracting archive
9:11:12 PM: - Installing symfony/yaml (v6.0.0): Extracting archive
9:11:12 PM: - Installing psr/container (2.0.2): Extracting archive
9:11:12 PM: - Installing symfony/service-contracts (v3.0.0): Extracting archive
9:11:12 PM: - Installing symfony/stopwatch (v6.0.0): Extracting archive
9:11:12 PM: - Installing symfony/polyfill-mbstring (v1.23.1): Extracting archive
9:11:12 PM: - Installing symfony/polyfill-intl-normalizer (v1.23.0): Extracting archive
9:11:12 PM: - Installing symfony/polyfill-intl-grapheme (v1.23.1): Extracting archive
9:11:12 PM: - Installing symfony/string (v6.0.0): Extracting archive
9:11:12 PM: - Installing symfony/console (v6.0.0): Extracting archive
9:11:12 PM: - Installing symfony/polyfill-php81 (v1.23.0): Extracting archive
9:11:12 PM: - Installing symfony/filesystem (v6.0.0): Extracting archive
9:11:12 PM: - Installing symfony/deprecation-contracts (v2.5.0): Extracting archive
9:11:12 PM: - Installing symfony/config (v6.0.0): Extracting archive
9:11:12 PM: - Installing psr/log (2.0.0): Extracting archive
9:11:12 PM: - Installing guzzlehttp/guzzle (7.4.0): Extracting archive
9:11:12 PM: - Installing php-coveralls/php-coveralls (v2.5.1): Extracting archive
9:11:12 PM: - Installing webmozart/assert (1.10.0): Extracting archive
9:11:12 PM: - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
9:11:12 PM: - Installing phpdocumentor/type-resolver (1.5.1): Extracting archive
9:11:12 PM: - Installing phpdocumentor/reflection-docblock (5.3.0): Extracting archive
9:11:12 PM: - Installing sebastian/version (3.0.2): Extracting archive
9:11:12 PM: - Installing sebastian/type (2.3.4): Extracting archive
9:11:12 PM: - Installing sebastian/resource-operations (3.0.3): Extracting archive
9:11:12 PM: - Installing sebastian/recursion-context (4.0.4): Extracting archive
9:11:12 PM: - Installing sebastian/object-reflector (2.0.4): Extracting archive
9:11:12 PM: - Installing sebastian/object-enumerator (4.0.4): Extracting archive
9:11:12 PM: - Installing sebastian/global-state (5.0.3): Extracting archive
9:11:12 PM: - Installing sebastian/exporter (4.0.4): Extracting archive
9:11:12 PM: - Installing sebastian/environment (5.1.3): Extracting archive
9:11:12 PM: - Installing sebastian/diff (4.0.4): Extracting archive
9:11:12 PM: - Installing sebastian/comparator (4.0.6): Extracting archive
9:11:12 PM: - Installing sebastian/code-unit (1.0.8): Extracting archive
9:11:12 PM: - Installing sebastian/cli-parser (1.0.1): Extracting archive
9:11:12 PM: - Installing phpunit/php-timer (5.0.3): Extracting archive
9:11:12 PM: - Installing phpunit/php-text-template (2.0.4): Extracting archive
9:11:12 PM: - Installing phpunit/php-invoker (3.1.1): Extracting archive
9:11:12 PM: - Installing phpunit/php-file-iterator (3.0.5): Extracting archive
9:11:12 PM: - Installing theseer/tokenizer (1.2.1): Extracting archive
9:11:12 PM: - Installing nikic/php-parser (v4.13.1): Extracting archive
9:11:12 PM: - Installing sebastian/lines-of-code (1.0.3): Extracting archive
9:11:12 PM: - Installing sebastian/complexity (2.0.2): Extracting archive
9:11:12 PM: - Installing sebastian/code-unit-reverse-lookup (2.0.3): Extracting archive
9:11:12 PM: - Installing phpunit/php-code-coverage (9.2.9): Extracting archive
9:11:12 PM: - Installing doctrine/instantiator (1.4.0): Extracting archive
9:11:12 PM: - Installing phpspec/prophecy (1.14.0): Extracting archive
9:11:12 PM: - Installing phar-io/version (3.1.0): Extracting archive
9:11:12 PM: - Installing phar-io/manifest (2.0.3): Extracting archive
9:11:12 PM: - Installing myclabs/deep-copy (1.10.2): Extracting archive
9:11:12 PM: - Installing phpunit/phpunit (9.5.10): Extracting archive
9:11:12 PM: - Installing symfony/polyfill-php80 (v1.23.1): Extracting archive
9:11:12 PM: - Installing symfony/polyfill-php72 (v1.23.0): Extracting archive
9:11:12 PM: - Installing symfony/var-dumper (v4.4.34): Extracting archive
9:11:12 PM: - Installing webmozart/path-util (2.3.0): Extracting archive
9:11:12 PM: - Installing openlss/lib-array2xml (1.0.0): Extracting archive
9:11:12 PM: - Installing netresearch/jsonmapper (v4.0.0): Extracting archive
9:11:12 PM: - Installing felixfbecker/language-server-protocol (1.5.1): Extracting archive
9:11:12 PM: - Installing felixfbecker/advanced-json-rpc (v3.2.1): Extracting archive
9:11:12 PM: - Installing dnoegel/php-xdg-base-dir (v0.1.1): Extracting archive
9:11:12 PM: - Installing composer/xdebug-handler (2.0.2): Extracting archive
9:11:12 PM: - Installing composer/semver (3.2.6): Extracting archive
9:11:12 PM: - Installing amphp/amp (v2.6.1): Extracting archive
9:11:12 PM: - Installing amphp/byte-stream (v1.8.1): Extracting archive
9:11:12 PM: - Installing vimeo/psalm (4.13.1): Extracting archive
9:11:13 PM: 12 package suggestions were added by new dependencies, use composer suggest
to see details.
9:11:13 PM: Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
9:11:13 PM: Generating autoload files
9:11:13 PM: composer/package-versions-deprecated: Generating version classβ¦
9:11:13 PM: composer/package-versions-deprecated: β¦done generating version class
9:11:13 PM: 49 packages you are using are looking for funding.
9:11:13 PM: Use the composer fund
command to find out more!
9:11:13 PM: Started restoring cached go cache
9:11:13 PM: Finished restoring cached go cache
9:11:13 PM: go version go1.16.5 linux/amd64
9:11:13 PM: go version go1.16.5 linux/amd64
9:11:13 PM: Installing missing commands
9:11:13 PM: Verify run directory
9:11:15 PM: β
9:11:15 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
9:11:15 PM: Netlify Build
9:11:15 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
9:11:15 PM: β
9:11:15 PM: β― Version
9:11:15 PM: @netlify/build 19.0.7
9:11:15 PM: β
9:11:15 PM: β― Flags
9:11:15 PM: baseRelDir: true
9:11:15 PM: buildId: 61a541befa09f00008a413e2
9:11:15 PM: deployId: 61a541befa09f00008a413e4
9:11:15 PM: β
9:11:15 PM: β― Current directory
9:11:15 PM: /opt/build/repo
9:11:15 PM: β
9:11:15 PM: β― Config file
9:11:15 PM: No config file was defined: using default values.
9:11:15 PM: β
9:11:15 PM: β― Context
9:11:15 PM: production
9:11:15 PM: β
9:11:15 PM: β― Installing plugins
9:11:15 PM: - netlify-purge-cloudflare-on-deploy@1.2.0
9:11:15 PM: - netlify-plugin-html-validate@1.0.0
9:11:15 PM: - netlify-plugin-jekyll-cache@1.0.0
9:11:15 PM: - netlify-plugin-use-env-in-runtime@1.2.1
9:11:19 PM: β
9:11:19 PM: β― Loading plugins
9:11:19 PM: - netlify-purge-cloudflare-on-deploy@1.2.0 from Netlify app
9:11:19 PM: - netlify-plugin-html-validate@1.0.0 from Netlify app
9:11:19 PM: - netlify-plugin-jekyll-cache@1.0.0 from Netlify app
9:11:19 PM: - netlify-plugin-use-env-in-runtime@1.2.1 from Netlify app
9:11:20 PM: β
9:11:20 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
9:11:20 PM: 1. netlify-plugin-jekyll-cache (onPreBuild event)
9:11:20 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
9:11:20 PM: β
9:11:20 PM: β
9:11:20 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
9:11:20 PM: Plugin βnetlify-plugin-jekyll-cacheβ internal error
9:11:20 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
9:11:20 PM: β
9:11:20 PM: Error message
9:11:20 PM: Error: Cannot cache /opt/build/repo because it is the current directory (/opt/build/repo) or a parent directory
9:11:20 PM: β
9:11:20 PM: Plugin details
9:11:20 PM: Package: netlify-plugin-jekyll-cache
9:11:20 PM: Version: 1.0.0
9:11:20 PM: Repository: git+https://github.com/Mesomorphic/netlify-plugin-jekyll-cache.git
9:11:20 PM: npm link: netlify-plugin-jekyll-cache - npm
9:11:20 PM: Report issues: Issues Β· Mesomorphic/netlify-plugin-jekyll-cache Β· GitHub
9:11:20 PM: β
9:11:20 PM: Error location
9:11:20 PM: In βonPreBuildβ event in βnetlify-plugin-jekyll-cacheβ from Netlify app
9:11:20 PM: at checkSrcPath (/opt/buildhome/node-deps/node_modules/@netlify/cache-utils/src/path.js:46:11)
9:11:20 PM: at getSrcPath (/opt/buildhome/node-deps/node_modules/@netlify/cache-utils/src/path.js:20:3)
9:11:20 PM: at async parsePath (/opt/buildhome/node-deps/node_modules/@netlify/cache-utils/src/path.js:11:19)
9:11:20 PM: at async restoreOne (/opt/buildhome/node-deps/node_modules/@netlify/cache-utils/src/main.js:36:34)
9:11:20 PM: at async Promise.all (index 0)
9:11:20 PM: at async allowMany (/opt/buildhome/node-deps/node_modules/@netlify/cache-utils/src/main.js:83:19)
9:11:20 PM: at async onPreBuild (/opt/build/repo/.netlify/plugins/node_modules/netlify-plugin-jekyll-cache/index.js:8:9)
9:11:20 PM: at async Object.run (/opt/buildhome/node-deps/node_modules/@netlify/build/src/plugins/child/run.js:17:3)
9:11:20 PM: at async handleEvent (/opt/buildhome/node-deps/node_modules/@netlify/build/src/plugins/child/main.js:34:38)
9:11:20 PM: at async process. (/opt/buildhome/node-deps/node_modules/@netlify/build/src/plugins/ipc.js:103:16)
9:11:20 PM: β
9:11:20 PM: Resolved config
9:11:20 PM: build:
9:11:20 PM: command: jekyll build
9:11:20 PM: commandOrigin: ui
9:11:20 PM: publish: /opt/build/repo
9:11:20 PM: publishOrigin: default
9:11:20 PM: functionsDirectory: /opt/build/repo/blackstarvirtualmint
9:11:20 PM: plugins:
9:11:20 PM: - inputs: {}
9:11:20 PM: origin: ui
9:11:20 PM: package: netlify-purge-cloudflare-on-deploy
9:11:20 PM: - inputs: {}
9:11:20 PM: origin: ui
9:11:20 PM: package: netlify-plugin-html-validate
9:11:20 PM: - inputs: {}
9:11:20 PM: origin: ui
9:11:20 PM: package: netlify-plugin-jekyll-cache
9:11:20 PM: - inputs: {}
9:11:20 PM: origin: ui
9:11:20 PM: package: netlify-plugin-use-env-in-runtime
9:11:21 PM: Caching artifacts
9:11:21 PM: Started saving node modules
9:11:21 PM: Finished saving node modules
9:11:21 PM: Started saving build plugins
9:11:21 PM: Finished saving build plugins
9:11:21 PM: Started saving pip cache
9:11:21 PM: Finished saving pip cache
9:11:21 PM: Started saving emacs cask dependencies
9:11:21 PM: Finished saving emacs cask dependencies
9:11:21 PM: Started saving maven dependencies
9:11:21 PM: Finished saving maven dependencies
9:11:21 PM: Started saving boot dependencies
9:11:21 PM: Finished saving boot dependencies
9:11:21 PM: Started saving composer dependencies
9:11:21 PM: Finished saving composer dependencies
9:11:21 PM: Started saving rust rustup cache
9:11:21 PM: Finished saving rust rustup cache
9:11:21 PM: Started saving go dependencies
9:11:21 PM: Finished saving go dependencies
9:11:23 PM: Build failed due to a plugin error: Build script returned non-zero exit code: 3
9:11:23 PM: Creating deploy upload records
9:11:23 PM: Failing build: Failed to build site
9:11:23 PM: Failed during stage βbuilding siteβ: Build script returned non-zero exit code: 3
9:11:24 PM: Finished processing build request in 27.559774124s here is the full log sir
What is your Jekyll configuration?
Have you looked at the netlify-plugin-jekyll-cache
documentation with regards jeykllSource
?
I did the package.json .toml and gemfile in gitkeep kept getting this build command error
Have you got any ideas coelmay ? because the build still fails despite all measures taken and going to the github repo for the plugin and extracting and compiling code
Apologies @Agadelic, I donβt.
If you can share the configuration of the package.json
, netlify.toml
, and gemfile
this may help others provide assistance to you.
here is toml file contents :-{
βnameβ: βnetlify-plugin-jekyll-cacheβ,
βversionβ: β1.0.0β,
βdescriptionβ: βPersist the Jekyll cache between Netlify buildsβ,
βmainβ: βindex.jsβ,
βrepositoryβ: βGitHub - Mesomorphic/netlify-plugin-jekyll-cacheβ,
βkeywordsβ: [
βnetlifyβ,
βnetlify-pluginβ,
βjekyllβ
],
βauthorβ: {
βnameβ: βMatthew Simpsonβ,
βemailβ: βmatthew@mesomorphic.co.ukβ,
βurlβ: βhttps://www.mesomorphic.co.ukβ
},
βlicenseβ: βMITβ,
βbugsβ: {
βurlβ: βIssues Β· Mesomorphic/netlify-plugin-jekyll-cache Β· GitHubβ
},
βhomepageβ: βGitHub - Mesomorphic/netlify-plugin-jekyll-cacheβ
}
thbis is in package.json for my repo
[[plugins]]
package = βnetlify-plugin-jekyll-cacheβ
[plugins.inputs]
this is the toml file instruction
hi? is anyone out there that knows why I donβt build i am in downtime please help
What happens when you remove the cache plugin?
IT MAKES A BUILD OBJECTION IT WILL SAY THE BUILD COMMAND IS AT ERROR BRO I NEED TO KNOW THE RIGHT BUILD COMMAND because it is one of 2 outcomes at build that I have explained
It would help if you can share your repo.
Also note that, typing in all caps is usually considered rude on online platforms. Please avoid doing that.
here is the link to the repo please bear in mind my repo is private because its a finance application Agadelic repo
Hi, @Agadelic. The error in the logs says this:
3:08:58 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
3:08:58 PM: Plugin "netlify-plugin-jekyll-cache" internal error
3:08:58 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
3:08:58 PM: β
3:08:58 PM: Error message
3:08:58 PM: Error: Cannot cache /opt/build/repo because it is the current directory (/opt/build/repo) or a parent directory
3:08:58 PM: β
3:08:58 PM: Plugin details
3:08:58 PM: Package: netlify-plugin-jekyll-cache
3:08:58 PM: Version: 1.0.0
3:08:58 PM: Repository: git+https://github.com/Mesomorphic/netlify-plugin-jekyll-cache.git
3:08:58 PM: npm link: https://www.npmjs.com/package/netlify-plugin-jekyll-cache
3:08:58 PM: Report issues: https://github.com/Mesomorphic/netlify-plugin-jekyll-cache/issues
It might help to file an issue with the creator of the plugin at the βReport issuesβ link above. Netlify didnβt write that plugin so contacting the person that did write it might result in a faster answer.
Also, the documentation for the plugin says this:
Add the following to your
netlify.toml
:[[plugins]] package = "netlify-plugin-jekyll-cache" [plugins.inputs] # This is only required if you have defined a source directory in Jekyll # At some point this will become automated, but for now it must be specified jekyllSource = "/jekyll"
Do you have a source directory defined in Jekyll? If so, did you add the jekyllSource
setting to netlify.toml
?
Sir what is the "jekyll sourceβ ? and where do I write the file in gitlab?
the jekyll source is a .js file I think that is wrong do I add it to the toml and take the java script file out?
It does appear from error logging that build is taking the wrong path route, any ideas sir?
3:35:51 PM: Build ready to start
3:35:53 PM: build-image version: 8925038cf853b22d6397cdcb9904ac88b66bb383 (focal)
3:35:53 PM: build-image tag: v4.5.0
3:35:53 PM: buildbot version: ed6384650de88ab490fd5d1e09e2d613653d0ea1
3:35:53 PM: Building without cache
3:35:53 PM: Starting to prepare the repo for build
3:35:54 PM: No cached dependencies found. Cloning fresh repo
3:35:54 PM: git clone git@gitlab.com:Agadelic/Blackstarvirtualmint
3:35:58 PM: Preparing Git Reference refs/heads/master
3:35:59 PM: Parsing package.json dependencies
3:36:00 PM: Creating deploy upload records
3:36:00 PM: Failing build: Failed to parse configuration
3:36:00 PM: Failed during stage βReading and parsing configuration filesβ: When resolving config file /opt/build/repo/netlify.toml:Configuration property plugins[0] βpackageβ property is required.Invalid syntax [[plugins]] origin = βconfigβ [plugins.inputs]Valid syntax [[plugins]] package = βnetlify-plugin-oneβ: exit status 1
3:36:00 PM: Finished processing build request in 7.000831092s Sir I added toml fiile markup from the git repos in the error log but got this response can you advise or help?