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

怎么安装的,老大 #1

Open
toptools opened this issue Apr 18, 2018 · 4 comments
Open

怎么安装的,老大 #1

toptools opened this issue Apr 18, 2018 · 4 comments

Comments

@toptools
Copy link

我今天安装magento 2.23学习

Composer安装说没有这个项目
Your requirements could not be resolved to an installable set of packages.
手动安装,全部文件夹解压在magento2_zh_hans_cn文件夹里面,刷新不出来中文
是要把所有文件解压再一个文件夹里面,还是全部解压出来
我是全部解压出来
权限,都是正确的,
$ php bin/magento cache:clean && php bin/magento setup:static-content:deploy zh_Hans_CN
cache_dir "/usr/share/nginx/html/magento/var/page_cache" is not writable

@benheart
Copy link
Owner

推荐使用Composer安装,你报错的原因好像是Composer需要更新,我在网上找你两个解决方案,你试下:
drush-ops/drush#938
http://www.cnblogs.com/zjhblogs/p/6092527.html

@toptools
Copy link
Author

我是最新版的composer
可能是我是最新版的2.23
你的包还不支持,是不是这个原因,我也不知道
我试过安装其他,都安装上了

Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for benheart/magento2_zh_hans_cn dev-master -> satisfiable by benheart/magento2_zh_hans_cn[dev-master].
- benheart/magento2_zh_hans_cn dev-master requires magento/framework ~100.0 -> no matching package found.

Potential causes:

Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.

Installation failed, reverting ./composer.json to its original content.

@benheart
Copy link
Owner

估计是magento/framework版本升级了,已更新composer.json中的require版本,用Composer再安装试试。

@toptools
Copy link
Author

搞定了,谢谢,有没有qq啊,交流一下,有机会合作

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

2 participants