Skip to content

./dev/update_packages.py fails awkwardly if pub is not in your path #64

Closed

Description

@eseidelGoogle

./dev/update_packages.py [/src/flutter]
Updating cassowary ...
Traceback (most recent call last):
File "./dev/update_packages.py", line 19, in
update(os.path.join(FLUTTER_ROOT, 'packages'))
File "./dev/update_packages.py", line 17, in update
subprocess.check_call(['pub', 'get'], cwd=package_dir)
File "/usr/lib/python2.7/subprocess.py", line 535, in check_call
retcode = call(_popenargs, *_kwargs)
File "/usr/lib/python2.7/subprocess.py", line 522, in call
return Popen(_popenargs, *_kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

%pub [/src/flutter]
zsh: command not found: pub

Activity

  1. modified the milestone: on Feb 3, 2016
  2. abarth commented on Feb 29, 2016

    @abarth
    Contributor

    Fixed by integrating with the flutter tool.

  3. github-actions commented on Aug 17, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  4. locked as resolved and limited conversation to collaborators on Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    toolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions