Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

window下创建项目时候报错 #10

Open
bob-yangpf opened this issue Jun 20, 2022 · 0 comments
Open

window下创建项目时候报错 #10

bob-yangpf opened this issue Jun 20, 2022 · 0 comments

Comments

@bob-yangpf
Copy link

执行命令:

composer  create-project hyperf/swow-skeleton swow v2.2.0

控制台输出报错

Creating a "hyperf/swow-skeleton" project at "./swow"

In CreateProjectCommand.php line 435:

  Could not find package hyperf/swow-skeleton with version v2.2.0 in a version installable using your PHP version, PH
  P extensions and Composer version.


create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [<package> [<directory> [<version>]]]

我的php版本和composer版本分别是

php -v
PHP 7.4.26 (cli) (built: Nov 16 2021 18:14:45) ( NTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
composer -V
Composer version 2.3.7 2022-06-06 16:43:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant