Hi!
I’m trying to deploy GitHub - noloman/remoti-landing: 📱 Free to use static generated website template for your mobile app into my Netlify project (Netlify App) and I’m getting the build log that I have in a PasteBin because of its size
These are the error lines:
5:51:14 PM: /opt/build/cache/bundle/ruby/2.7.0/gems/safe_yaml-1.0.5/lib/safe_yaml/load.rb:143:in `parse': (/opt/build/repo/_data/app.yml): could not find expected ':' while scanning a simple key at line 6 column 1 (Psych::SyntaxError)
from /opt/build/cache/bundle/ruby/2.7.0/gems/safe_yaml-1.0.5/lib/safe_yaml/load.rb:143:in `load'
from /opt/build/cache/bundle/ruby/2.7.0/gems/safe_yaml-1.0.5/lib/safe_yaml/load.rb:157:in `block in load_file'
from /opt/build/cache/bundle/ruby/2.7.0/gems/safe_yaml-1.0.5/lib/safe_yaml/load.rb:157:in `open'
from /opt/build/cache/bundle/ruby/2.7.0/gems/safe_yaml-1.0.5/lib/safe_yaml/load.rb:157:in `load_file'
from /opt/build/cache/bundle/ruby/2.7.0/gems/jekyll-4.2.1/lib/jekyll/readers/data_reader.rb:70:in `read_data_file'
from /opt/build/cache/bundle/ruby/2.7.0/gems/jekyll-4.2.1/lib/jekyll/readers/data_reader.rb:48:in `block in read_data_to'
from /opt/build/cache/bundle/ruby/2.7.0/gems/jekyll-4.2.1/lib/jekyll/readers/data_reader.rb:40:in `each'
from /opt/build/cache/bundle/ruby/2.7.0/gems/jekyll-4.2.1/lib/jekyll/readers/data_reader.rb:40:in `read_data_to'
from /opt/build/cache/bundle/ruby/2.7.0/gems/jekyll-4.2.1/lib/jekyll/readers/data_reader.rb:22:in `read'
from /opt/build/cache/bundle/ruby/2.7.0/gems/jekyll-4.2.1/lib/jekyll/reader.rb:19:in `read'
from /opt/build/cache/bundle/ruby/2.7.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:181:in `read'
from /opt/build/cache/bundle/ruby/2.7.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:78:in `process'
from /opt/build/cache/bundle/ruby/2.7.0/gems/jekyll-4.2.1/lib/jekyll/command.rb:28:in `process_site'
from /opt/build/cache/bundle/ruby/2.7.0/gems/jekyll-4.2.1/lib/jekyll/commands/build.rb:65:in `build'
from /opt/build/cache/bundle/ruby/2.7.0/gems/jekyll-4.2.1/lib/jekyll/commands/build.rb:36:in `process'
from /opt/build/cache/bundle/ruby/2.7.0/gems/jekyll-4.2.1/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
from /opt/build/cache/bundle/ruby/2.7.0/gems/jekyll-4.2.1/lib/jekyll/command.rb:91:in `each'
from /opt/build/cache/bundle/ruby/2.7.0/gems/jekyll-4.2.1/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
from /opt/build/cache/bundle/ruby/2.7.0/gems/jekyll-4.2.1/lib/jekyll/commands/build.rb:18:in `block (2 levels) in init_with_program'
from /opt/build/cache/bundle/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
from /opt/build/cache/bundle/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
from /opt/build/cache/bundle/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
from /opt/build/cache/bundle/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
from /opt/build/cache/bundle/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
from /opt/build/cache/bundle/ruby/2.7.0/gems/jekyll-4.2.1/exe/jekyll:15:in `<top (required)>'
from /opt/build/cache/bundle/ruby/2.7.0/bin/jekyll:23:in `load'
from /opt/build/cache/bundle/ruby/2.7.0/bin/jekyll:23:in `<main>'
from /opt/build/cache/bundle/ruby/2.7.0/bin/ruby_executable_hooks:24:in `eval'
from /opt/build/cache/bundle/ruby/2.7.0/bin/ruby_executable_hooks:24:in `<main>'
npm ERR! code ELIFECYCLE
5:51:14 PM: npm ERR! errno 1
5:51:14 PM: npm ERR! mobile-app-landingpage-template@1.0.0 build: `npm run-script clean:project && cross-env NODE_ENV=production webpack --env config=prod --progress --profile --color && cross-env JEKYLL_ENV=production bundle exec jekyll build`
5:51:14 PM: npm ERR! Exit status 1
5:51:14 PM: npm ERR!
5:51:14 PM: npm ERR! Failed at the mobile-app-landingpage-template@1.0.0 build script.
5:51:14 PM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
5:51:14 PM: npm ERR! A complete log of this run can be found in:
5:51:14 PM: npm ERR! /opt/buildhome/.npm/_logs/2022-04-03T15_51_14_243Z-debug.log
5:51:14 PM:
5:51:14 PM: ────────────────────────────────────────────────────────────────
5:51:14 PM: "build.command" failed
5:51:14 PM: Creating deploy upload records
5:51:14 PM: ────────────────────────────────────────────────────────────────
5:51:14 PM:
5:51:14 PM: Error message
5:51:14 PM: Command failed with exit code 1: npm run build (https://ntl.fyi/exit-code-1)
5:51:14 PM:
5:51:14 PM: Error location
5:51:15 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
5:51:14 PM: In build.command from netlify.toml:
5:51:14 PM: npm run build
5:51:14 PM:
5:51:14 PM: Resolved config
5:51:14 PM: build:
5:51:14 PM: command: npm run build
5:51:14 PM: commandOrigin: config
5:51:14 PM: publish: /opt/build/repo/_site
5:51:14 PM: publishOrigin: config
Thanks!