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

error on win10 install #14

Open
zebrastribe opened this issue Apr 15, 2020 · 2 comments
Open

error on win10 install #14

zebrastribe opened this issue Apr 15, 2020 · 2 comments

Comments

@zebrastribe
Copy link

I get this message on install:

`$ composer global require "alecaddd/awps-cli"
Changed current directory to C:/Users/***/AppData/Roaming/Composer
Using version ^1.0 for alecaddd/awps-cli
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Conclusion: don't install alecaddd/awps-cli v1.0.6
- Conclusion: don't install alecaddd/awps-cli v1.0.5
- Conclusion: don't install alecaddd/awps-cli v1.0.4
- Conclusion: don't install alecaddd/awps-cli v1.0.3
- Conclusion: don't install alecaddd/awps-cli v1.0.2
- Conclusion: don't install alecaddd/awps-cli 1.0.1
- Conclusion: remove symfony/console v5.0.2
- Installation request for alecaddd/awps-cli ^1.0 -> satisfiable by alecaddd/awps-cli[1.0.0, 1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6].
- Conclusion: don't install symfony/console v5.0.2
- alecaddd/awps-cli 1.0.0 requires symfony/console ~2.0 -> satisfiable by symfony/console[2.0.4, 2.0.5, 2.0.6, 2.0.7, v2.0.10, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.20, v2.0.21, v2.0.22, v2.0.23, v2.0.24, v2.0.25, v2.0.9, v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.12, v2.1.13, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9, v2.2.0, v2.2.1, v2.2.10, v2.2.11, v2.2.2, v2.2.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.38, v2.3.39, v2.3.4, v2.3.40, v2.3.41, v2.3.42, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17, v2.7.18, v2.7.19, v2.7.2, v2.7.20, v2.7.21, v2.7.22, v2.7.23, v2.7.24, v2.7.25, v2.7.26, v2.7.27, v2.7.28, v2.7.29, v2.7.3, v2.7.30, v2.7.31, v2.7.32, v2.7.33, v2.7.34, v2.7.35, v2.7.36, v2.7.37, v2.7.38, v2.7.39, v2.7.4, v2.7.40, v2.7.41, v2.7.42, v2.7.43, v2.7.44, v2.7.45, v2.7.46, v2.7.47, v2.7.48, v2.7.49, v2.7.5, v2.7.50, v2.7.51, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.14, v2.8.15, v2.8.16, v2.8.17, v2.8.18, v2.8.19, v2.8.2, v2.8.20, v2.8.21, v2.8.22, v2.8.23, v2.8.24, v2.8.25, v2.8.26, v2.8.27, v2.8.28, v2.8.29, v2.8.3, v2.8.30, v2.8.31, v2.8.32, v2.8.33, v2.8.34, v2.8.35, v2.8.36, v2.8.37, v2.8.38, v2.8.39, v2.8.4, v2.8.40, v2.8.41, v2.8.42, v2.8.43, v2.8.44, v2.8.45, v2.8.46, v2.8.47, v2.8.48, v2.8.49, v2.8.5, v2.8.50, v2.8.52, v2.8.6, v2.8.7, v2.8.8, v2.8.9].
- Can only install one of: symfony/console[v2.6.0, v5.0.2].
- Can only install one of: symfony/console[v2.6.1, v5.0.2].
- Can only install one of: symfony/console[v2.6.10, v5.0.2].
- Can only install one of: symfony/console[v2.6.11, v5.0.2].
- Can only install one of: symfony/console[v2.6.12, v5.0.2].
- Can only install one of: symfony/console[v2.6.13, v5.0.2].
- Can only install one of: symfony/console[v2.6.2, v5.0.2].
- Can only install one of: symfony/console[v2.6.3, v5.0.2].
- Can only install one of: symfony/console[v2.6.4, v5.0.2].
- Can only install one of: symfony/console[v2.6.5, v5.0.2].
- Can only install one of: symfony/console[v2.6.6, v5.0.2].
- Can only install one of: symfony/console[v2.6.7, v5.0.2].
- Can only install one of: symfony/console[v2.6.8, v5.0.2].
- Can only install one of: symfony/console[v2.6.9, v5.0.2].
- Can only install one of: symfony/console[v2.7.0, v5.0.2].
- Can only install one of: symfony/console[v2.7.1, v5.0.2].
- Can only install one of: symfony/console[v2.7.10, v5.0.2].
- Can only install one of: symfony/console[v2.7.11, v5.0.2].
- Can only install one of: symfony/console[v2.7.12, v5.0.2].
- Can only install one of: symfony/console[v2.7.13, v5.0.2].
- Can only install one of: symfony/console[v2.7.14, v5.0.2].
- Can only install one of: symfony/console[v2.7.15, v5.0.2].
- Can only install one of: symfony/console[v2.7.16, v5.0.2].
- Can only install one of: symfony/console[v2.7.17, v5.0.2].
- Can only install one of: symfony/console[v2.7.18, v5.0.2].
- Can only install one of: symfony/console[v2.7.19, v5.0.2].
- Can only install one of: symfony/console[v2.7.2, v5.0.2].
- Can only install one of: symfony/console[v2.7.20, v5.0.2].
- Can only install one of: symfony/console[v2.7.21, v5.0.2].
- Can only install one of: symfony/console[v2.7.22, v5.0.2].
- Can only install one of: symfony/console[v2.7.23, v5.0.2].
- Can only install one of: symfony/console[v2.7.24, v5.0.2].
- Can only install one of: symfony/console[v2.7.25, v5.0.2].
- Can only install one of: symfony/console[v2.7.26, v5.0.2].
- Can only install one of: symfony/console[v2.7.27, v5.0.2].
- Can only install one of: symfony/console[v2.7.28, v5.0.2].
- Can only install one of: symfony/console[v2.7.29, v5.0.2].
- Can only install one of: symfony/console[v2.7.3, v5.0.2].
- Can only install one of: symfony/console[v2.7.30, v5.0.2].
- Can only install one of: symfony/console[v2.7.31, v5.0.2].
- Can only install one of: symfony/console[v2.7.32, v5.0.2].
- Can only install one of: symfony/console[v2.7.33, v5.0.2].
- Can only install one of: symfony/console[v2.7.34, v5.0.2].
- Can only install one of: symfony/console[v2.7.35, v5.0.2].
- Can only install one of: symfony/console[v2.7.36, v5.0.2].
- Can only install one of: symfony/console[v2.7.37, v5.0.2].
- Can only install one of: symfony/console[v2.7.38, v5.0.2].
- Can only install one of: symfony/console[v2.7.39, v5.0.2].
- Can only install one of: symfony/console[v2.7.4, v5.0.2].
- Can only install one of: symfony/console[v2.7.40, v5.0.2].
- Can only install one of: symfony/console[v2.7.41, v5.0.2].
- Can only install one of: symfony/console[v2.7.42, v5.0.2].
- Can only install one of: symfony/console[v2.7.43, v5.0.2].
- Can only install one of: symfony/console[v2.7.44, v5.0.2].
- Can only install one of: symfony/console[v2.7.45, v5.0.2].
- Can only install one of: symfony/console[v2.7.46, v5.0.2].
- Can only install one of: symfony/console[v2.7.47, v5.0.2].
- Can only install one of: symfony/console[v2.7.48, v5.0.2].
- Can only install one of: symfony/console[v2.7.49, v5.0.2].
- Can only install one of: symfony/console[v2.7.5, v5.0.2].
- Can only install one of: symfony/console[v2.7.50, v5.0.2].
- Can only install one of: symfony/console[v2.7.51, v5.0.2].
- Can only install one of: symfony/console[v2.7.6, v5.0.2].
- Can only install one of: symfony/console[v2.7.7, v5.0.2].
- Can only install one of: symfony/console[v2.7.8, v5.0.2].
- Can only install one of: symfony/console[v2.7.9, v5.0.2].
- Can only install one of: symfony/console[v2.8.0, v5.0.2].
- Can only install one of: symfony/console[v2.8.1, v5.0.2].
- Can only install one of: symfony/console[v2.8.10, v5.0.2].
- Can only install one of: symfony/console[v2.8.11, v5.0.2].
- Can only install one of: symfony/console[v2.8.12, v5.0.2].
- Can only install one of: symfony/console[v2.8.13, v5.0.2].
- Can only install one of: symfony/console[v2.8.14, v5.0.2].
- Can only install one of: symfony/console[v2.8.15, v5.0.2].
- Can only install one of: symfony/console[v2.8.16, v5.0.2].
- Can only install one of: symfony/console[v2.8.17, v5.0.2].
- Can only install one of: symfony/console[v2.8.18, v5.0.2].
- Can only install one of: symfony/console[v2.8.19, v5.0.2].
- Can only install one of: symfony/console[v2.8.2, v5.0.2].
- Can only install one of: symfony/console[v2.8.20, v5.0.2].
- Can only install one of: symfony/console[v2.8.21, v5.0.2].
- Can only install one of: symfony/console[v2.8.22, v5.0.2].
- Can only install one of: symfony/console[v2.8.23, v5.0.2].
- Can only install one of: symfony/console[v2.8.24, v5.0.2].
- Can only install one of: symfony/console[v2.8.25, v5.0.2].
- Can only install one of: symfony/console[v2.8.26, v5.0.2].
- Can only install one of: symfony/console[v2.8.27, v5.0.2].
- Can only install one of: symfony/console[v2.8.28, v5.0.2].
- Can only install one of: symfony/console[v2.8.29, v5.0.2].
- Can only install one of: symfony/console[v2.8.3, v5.0.2].
- Can only install one of: symfony/console[v2.8.30, v5.0.2].
- Can only install one of: symfony/console[v2.8.31, v5.0.2].
- Can only install one of: symfony/console[v2.8.32, v5.0.2].
- Can only install one of: symfony/console[v2.8.33, v5.0.2].
- Can only install one of: symfony/console[v2.8.34, v5.0.2].
- Can only install one of: symfony/console[v2.8.35, v5.0.2].
- Can only install one of: symfony/console[v2.8.36, v5.0.2].
- Can only install one of: symfony/console[v2.8.37, v5.0.2].
- Can only install one of: symfony/console[v2.8.38, v5.0.2].
- Can only install one of: symfony/console[v2.8.39, v5.0.2].
- Can only install one of: symfony/console[v2.8.4, v5.0.2].
- Can only install one of: symfony/console[v2.8.40, v5.0.2].
- Can only install one of: symfony/console[v2.8.41, v5.0.2].
- Can only install one of: symfony/console[v2.8.42, v5.0.2].
- Can only install one of: symfony/console[v2.8.43, v5.0.2].
- Can only install one of: symfony/console[v2.8.44, v5.0.2].
- Can only install one of: symfony/console[v2.8.45, v5.0.2].
- Can only install one of: symfony/console[v2.8.46, v5.0.2].
- Can only install one of: symfony/console[v2.8.47, v5.0.2].
- Can only install one of: symfony/console[v2.8.48, v5.0.2].
- Can only install one of: symfony/console[v2.8.49, v5.0.2].
- Can only install one of: symfony/console[v2.8.5, v5.0.2].
- Can only install one of: symfony/console[v2.8.50, v5.0.2].
- Can only install one of: symfony/console[v2.8.52, v5.0.2].
- Can only install one of: symfony/console[v2.8.6, v5.0.2].
- Can only install one of: symfony/console[v2.8.7, v5.0.2].
- Can only install one of: symfony/console[v2.8.8, v5.0.2].
- Can only install one of: symfony/console[v2.8.9, v5.0.2].
- Can only install one of: symfony/console[2.0.4, v5.0.2].
- Can only install one of: symfony/console[2.0.5, v5.0.2].
- Can only install one of: symfony/console[2.0.6, v5.0.2].
- Can only install one of: symfony/console[2.0.7, v5.0.2].
- Can only install one of: symfony/console[v2.0.10, v5.0.2].
- Can only install one of: symfony/console[v2.0.12, v5.0.2].
- Can only install one of: symfony/console[v2.0.13, v5.0.2].
- Can only install one of: symfony/console[v2.0.14, v5.0.2].
- Can only install one of: symfony/console[v2.0.15, v5.0.2].
- Can only install one of: symfony/console[v2.0.16, v5.0.2].
- Can only install one of: symfony/console[v2.0.17, v5.0.2].
- Can only install one of: symfony/console[v2.0.18, v5.0.2].
- Can only install one of: symfony/console[v2.0.19, v5.0.2].
- Can only install one of: symfony/console[v2.0.20, v5.0.2].
- Can only install one of: symfony/console[v2.0.21, v5.0.2].
- Can only install one of: symfony/console[v2.0.22, v5.0.2].
- Can only install one of: symfony/console[v2.0.23, v5.0.2].
- Can only install one of: symfony/console[v2.0.24, v5.0.2].
- Can only install one of: symfony/console[v2.0.25, v5.0.2].
- Can only install one of: symfony/console[v2.0.9, v5.0.2].
- Can only install one of: symfony/console[v2.1.0, v5.0.2].
- Can only install one of: symfony/console[v2.1.1, v5.0.2].
- Can only install one of: symfony/console[v2.1.10, v5.0.2].
- Can only install one of: symfony/console[v2.1.11, v5.0.2].
- Can only install one of: symfony/console[v2.1.12, v5.0.2].
- Can only install one of: symfony/console[v2.1.13, v5.0.2].
- Can only install one of: symfony/console[v2.1.2, v5.0.2].
- Can only install one of: symfony/console[v2.1.3, v5.0.2].
- Can only install one of: symfony/console[v2.1.4, v5.0.2].
- Can only install one of: symfony/console[v2.1.5, v5.0.2].
- Can only install one of: symfony/console[v2.1.6, v5.0.2].
- Can only install one of: symfony/console[v2.1.7, v5.0.2].
- Can only install one of: symfony/console[v2.1.8, v5.0.2].
- Can only install one of: symfony/console[v2.1.9, v5.0.2].
- Can only install one of: symfony/console[v2.2.0, v5.0.2].
- Can only install one of: symfony/console[v2.2.1, v5.0.2].
- Can only install one of: symfony/console[v2.2.10, v5.0.2].
- Can only install one of: symfony/console[v2.2.11, v5.0.2].
- Can only install one of: symfony/console[v2.2.2, v5.0.2].
- Can only install one of: symfony/console[v2.2.3, v5.0.2].
- Can only install one of: symfony/console[v2.2.4, v5.0.2].
- Can only install one of: symfony/console[v2.2.5, v5.0.2].
- Can only install one of: symfony/console[v2.2.6, v5.0.2].
- Can only install one of: symfony/console[v2.2.7, v5.0.2].
- Can only install one of: symfony/console[v2.2.8, v5.0.2].
- Can only install one of: symfony/console[v2.2.9, v5.0.2].
- Can only install one of: symfony/console[v2.3.0, v5.0.2].
- Can only install one of: symfony/console[v2.3.1, v5.0.2].
- Can only install one of: symfony/console[v2.3.10, v5.0.2].
- Can only install one of: symfony/console[v2.3.11, v5.0.2].
- Can only install one of: symfony/console[v2.3.12, v5.0.2].
- Can only install one of: symfony/console[v2.3.13, v5.0.2].
- Can only install one of: symfony/console[v2.3.14, v5.0.2].
- Can only install one of: symfony/console[v2.3.15, v5.0.2].
- Can only install one of: symfony/console[v2.3.16, v5.0.2].
- Can only install one of: symfony/console[v2.3.17, v5.0.2].
- Can only install one of: symfony/console[v2.3.18, v5.0.2].
- Can only install one of: symfony/console[v2.3.19, v5.0.2].
- Can only install one of: symfony/console[v2.3.2, v5.0.2].
- Can only install one of: symfony/console[v2.3.20, v5.0.2].
- Can only install one of: symfony/console[v2.3.21, v5.0.2].
- Can only install one of: symfony/console[v2.3.22, v5.0.2].
- Can only install one of: symfony/console[v2.3.23, v5.0.2].
- Can only install one of: symfony/console[v2.3.24, v5.0.2].
- Can only install one of: symfony/console[v2.3.25, v5.0.2].
- Can only install one of: symfony/console[v2.3.26, v5.0.2].
- Can only install one of: symfony/console[v2.3.27, v5.0.2].
- Can only install one of: symfony/console[v2.3.28, v5.0.2].
- Can only install one of: symfony/console[v2.3.29, v5.0.2].
- Can only install one of: symfony/console[v2.3.3, v5.0.2].
- Can only install one of: symfony/console[v2.3.30, v5.0.2].
- Can only install one of: symfony/console[v2.3.31, v5.0.2].
- Can only install one of: symfony/console[v2.3.32, v5.0.2].
- Can only install one of: symfony/console[v2.3.33, v5.0.2].
- Can only install one of: symfony/console[v2.3.34, v5.0.2].
- Can only install one of: symfony/console[v2.3.35, v5.0.2].
- Can only install one of: symfony/console[v2.3.36, v5.0.2].
- Can only install one of: symfony/console[v2.3.37, v5.0.2].
- Can only install one of: symfony/console[v2.3.38, v5.0.2].
- Can only install one of: symfony/console[v2.3.39, v5.0.2].
- Can only install one of: symfony/console[v2.3.4, v5.0.2].
- Can only install one of: symfony/console[v2.3.40, v5.0.2].
- Can only install one of: symfony/console[v2.3.41, v5.0.2].
- Can only install one of: symfony/console[v2.3.42, v5.0.2].
- Can only install one of: symfony/console[v2.3.5, v5.0.2].
- Can only install one of: symfony/console[v2.3.6, v5.0.2].
- Can only install one of: symfony/console[v2.3.7, v5.0.2].
- Can only install one of: symfony/console[v2.3.8, v5.0.2].
- Can only install one of: symfony/console[v2.3.9, v5.0.2].
- Can only install one of: symfony/console[v2.4.0, v5.0.2].
- Can only install one of: symfony/console[v2.4.1, v5.0.2].
- Can only install one of: symfony/console[v2.4.10, v5.0.2].
- Can only install one of: symfony/console[v2.4.2, v5.0.2].
- Can only install one of: symfony/console[v2.4.3, v5.0.2].
- Can only install one of: symfony/console[v2.4.4, v5.0.2].
- Can only install one of: symfony/console[v2.4.5, v5.0.2].
- Can only install one of: symfony/console[v2.4.6, v5.0.2].
- Can only install one of: symfony/console[v2.4.7, v5.0.2].
- Can only install one of: symfony/console[v2.4.8, v5.0.2].
- Can only install one of: symfony/console[v2.4.9, v5.0.2].
- Can only install one of: symfony/console[v2.5.0, v5.0.2].
- Can only install one of: symfony/console[v2.5.1, v5.0.2].
- Can only install one of: symfony/console[v2.5.10, v5.0.2].
- Can only install one of: symfony/console[v2.5.11, v5.0.2].
- Can only install one of: symfony/console[v2.5.12, v5.0.2].
- Can only install one of: symfony/console[v2.5.2, v5.0.2].
- Can only install one of: symfony/console[v2.5.3, v5.0.2].
- Can only install one of: symfony/console[v2.5.4, v5.0.2].
- Can only install one of: symfony/console[v2.5.5, v5.0.2].
- Can only install one of: symfony/console[v2.5.6, v5.0.2].
- Can only install one of: symfony/console[v2.5.7, v5.0.2].
- Can only install one of: symfony/console[v2.5.8, v5.0.2].
- Can only install one of: symfony/console[v2.5.9, v5.0.2].
- Installation request for symfony/console (locked at v5.0.2) -> satisfiable by symfony/console[v5.0.2].

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

@Alecaddd
Copy link
Owner

You need the symphony package.

composer install symphony

@zebrastribe
Copy link
Author

zebrastribe commented Apr 15, 2020

Then I get this:

Invalid argument symphony. Use "composer require symphony" instead to add packages to your composer.json.

after running "composer require symphony" I get this:

[InvalidArgumentException]
Could not find package symphony

Then I tried:
$ composer require symfony/console
then no errors.

Then I tried:
$composer global require "alecaddd/awps-cli"

I still get the original errors with:
Your requirements could not be resolved to an installable set of packages. bla bla

Then ran:
$composer global require consolidation/cgr
$cgr composer global require "alecaddd/awps-cli"

Then the awps-cli seems to be installed!

But I got this message:
In CurlFactory.php line 201:
cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

Then fixed it with:
Download the latest cacert.pem from https://curl.haxx.se/ca/cacert.pem
Add the following line to php.ini:
curl.cainfo="/path/to/downloaded/cacert.pem"

Then ran:
$ composer global require "alecaddd/awps-cli"

and got:
`Summoning application..
Name of your theme? (Awps) kbh
PHP Namespace of your theme? (Awps) kbh
Description? (Alecaddd WordPress Starter theme)
Downloading Package..
mv: target 'S\dev\sites\app\public\wp-content\themes/kbh' is not a directory
PHP Warning: rmdir(C:\Users\jkn\OneDrive - FK Distribution A S\dev\sites\app\public\wp-content\themes/kbh/awps-master): Directory not empty in C:\Users\jkn\AppData\Roaming\Composer\global\alecaddd\awps-cli\vendor\alecaddd\awps-cli\src\NewCommand.php on line 188

Warning: rmdir(C:\Users*\OneDrive - ** *** A S\dev\sites\app\public\wp-content\themes/kbh/awps-master): Directory not empty in C:\Users\jkn\AppData\Roaming\Composer\global\alecaddd\awps-cli\vendor\alecaddd\awps-cli\src\NewCommand.php on line 188
Updating namespaces..
Updating config files..
mv: cannot stat '-': No such file or directory
mv: cannot stat '
': No such file or directory
mv: cannot stat '***': No such file or directory
mv: cannot stat 'A': No such file or directory
mv: cannot stat 'S\dev\sites\app\public\wp-content\themes/kbh/wp-config.sample.php': No such file or directory
mv: target '../../.env' is not a directory
Application ready, Happy Coding!`

So far and close but no cigar :-)

*So I did the non-automated version intall without cli and I was able to get the theme up and runing

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