Skip to content

mix smoothie.init: ** (ArgumentError) all arguments for System.cmd/3 must be binaries  #23

Open
@drernie

Description

@drernie

I am trying to use smoothie with "phoenix 1.5.4". After mix deps.get, I get an error on "mix smoothie.init"

% mix smoothie.init ** (ArgumentError) all arguments for System.cmd/3 must be binaries (elixir 1.10.4) lib/system.ex:786: System.cmd/3 (mix 1.10.4) lib/mix/task.ex:330: Mix.Task.run_task/3 (mix 1.10.4) lib/mix/cli.ex:82: Mix.CLI.run_task/2 (elixir 1.10.4) lib/code.ex:926: Code.require_file/2
I assume this is from init.ex:
System.cmd "npm", ["i", @package_version, "--save-dev", @new_opts]

Has anyone else seen this? Or is there something weird about my config?

Code available here: https://github.com/TheSwanFactory/igwet/tree/smoothie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions