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
I'm having this issue running in a container in my build pipeline in Azure Devops. However it works fine on my local machine.
Command executed
fastlane production_build
Complete output when running fastlane, including the stack trace and command used
/bin/bash /__w/_temp/7507e9f2-190b-4602-9013-d8bee8e2c0a9.sh
+-----------------------------------------+---------+--------------------------+
| Used plugins |
+-----------------------------------------+---------+--------------------------+
| Plugin | Version | Action |
+-----------------------------------------+---------+--------------------------+
| fastlane-plugin-flutter_version | 1.1.15 | flutter_version |
| fastlane-plugin-flutter_version_manager | 1.0.0 | flutter_version_manager |
| fastlane-plugin-file_manager | 0.2.0 | copy_files, remove_files |
+-----------------------------------------+---------+--------------------------+
bundler: failed to load command: fastlane (/usr/local/bundle/bin/fastlane)
/usr/local/bundle/gems/fastlane-2.211.0/fastlane_core/lib/fastlane_core/ui/implementations/shell.rb:95:in `*': \e[31m[!] negative argument\e[0m (ArgumentError)
from /usr/local/bundle/gems/fastlane-2.211.0/fastlane_core/lib/fastlane_core/ui/implementations/shell.rb:95:in `header'
from /usr/local/bundle/gems/fastlane-2.211.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in `method_missing'
from /usr/local/bundle/gems/fastlane-2.211.0/fastlane/lib/fastlane/actions/actions_helper.rb:68:in `execute_action'
from /usr/local/bundle/gems/fastlane-2.211.0/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'
from /usr/local/bundle/gems/fastlane-2.211.0/fastlane/lib/fastlane/runner.rb:229:in `chdir'
from /usr/local/bundle/gems/fastlane-2.211.0/fastlane/lib/fastlane/runner.rb:229:in `execute_action'
from /usr/local/bundle/gems/fastlane-2.211.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
from /usr/local/bundle/gems/fastlane-2.211.0/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'
from Fastfile:16:in `parsing_binding'
from /usr/local/bundle/gems/fastlane-2.211.0/fastlane/lib/fastlane/fast_file.rb:61:in `eval'
from /usr/local/bundle/gems/fastlane-2.211.0/fastlane/lib/fastlane/fast_file.rb:61:in `block in parse'
from /usr/local/bundle/gems/fastlane-2.211.0/fastlane/lib/fastlane/fast_file.rb:50:in `chdir'
from /usr/local/bundle/gems/fastlane-2.211.0/fastlane/lib/fastlane/fast_file.rb:50:in `parse'
from /usr/local/bundle/gems/fastlane-2.211.0/fastlane/lib/fastlane/fast_file.rb:40:in `initialize'
from /usr/local/bundle/gems/fastlane-2.211.0/fastlane/lib/fastlane/lane_manager.rb:15:in `new'
from /usr/local/bundle/gems/fastlane-2.211.0/fastlane/lib/fastlane/lane_manager.rb:15:in `cruise_lane'
from /usr/local/bundle/gems/fastlane-2.211.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
from /usr/local/bundle/gems/fastlane-2.211.0/fastlane/lib/fastlane/commands_generator.rb:110:in `block (2 levels) in run'
from /usr/local/bundle/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
from /usr/local/bundle/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
from /usr/local/bundle/gems/fastlane-2.211.0/fastlane/lib/fastlane/commands_generator.rb:354:in `run'
from /usr/local/bundle/gems/fastlane-2.211.0/fastlane/lib/fastlane/commands_generator.rb:43:in `start'
from /usr/local/bundle/gems/fastlane-2.211.0/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in `take_off'
from /usr/local/bundle/gems/fastlane-2.211.0/bin/fastlane:23:in `<top (required)>'
from /usr/local/bundle/bin/fastlane:25:in `load'
from /usr/local/bundle/bin/fastlane:25:in `<top (required)>'
from /usr/local/lib/ruby/3.1.0/bundler/cli/exec.rb:58:in `load'
from /usr/local/lib/ruby/3.1.0/bundler/cli/exec.rb:58:in `kernel_load'
from /usr/local/lib/ruby/3.1.0/bundler/cli/exec.rb:23:in `run'
from /usr/local/lib/ruby/3.1.0/bundler/cli.rb:486:in `exec'
from /usr/local/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /usr/local/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /usr/local/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /usr/local/lib/ruby/3.1.0/bundler/cli.rb:31:in `dispatch'
from /usr/local/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /usr/local/lib/ruby/3.1.0/bundler/cli.rb:25:in `start'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.26/libexec/bundle:48:in `block in <top (required)>'
from /usr/local/lib/ruby/3.1.0/bundler/friendly_errors.rb:120:in `with_friendly_errors'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.26/libexec/bundle:36:in `<top (required)>'
from /usr/local/bin/bundle:25:in `load'
from /usr/local/bin/bundle:25:in `<main>'
Looking for related GitHub issues on fastlane/fastlane...
➡️ [fastlane_core] prevent negative argument error for message formatting
https://github.com/fastlane/fastlane/pull/20857 [closed] 3 💬
2 days ago
➡️ automatic_release flag does not work
https://github.com/fastlane/fastlane/issues/19797 [open] 13 💬
4 weeks ago
➡️ [scan] False negative on repeated tests
https://github.com/fastlane/fastlane/issues/19729 [closed] 5 💬
05 Jul 2022
and 19 more at: https://github.com/fastlane/fastlane/search?q=negative%20argument&type=Issues&utf8=✓
It seems like you have not included the output of fastlane env
To make it easier for us help you resolve this issue, please update the issue to include the output of fastlane env 👍
IAmJulianAcosta
changed the title
negative argument ArgumentError)
negative argument ArgumentError when running in CI
Dec 1, 2022
New Issue Checklist
Issue Description
I'm having this issue running in a container in my build pipeline in Azure Devops. However it works fine on my local machine.
Command executed
fastlane production_build
Complete output when running fastlane, including the stack trace and command used
Environment
The text was updated successfully, but these errors were encountered: