Comments (15)
Your version of cli is super old.
Try running composer global require statamic/cli
to update.
from cli.
Thank you @jasonvarga. Ran it, still stuck on 1.0.3.
Nothing to install, update or remove
I think the issue is more on my end. We can close this.
from cli.
Ok how about composer global require statamic/cli:^3
from cli.
no matches found: statamic/cli:^3
from cli.
composer -V
?
from cli.
Composer version 2.5.5
from cli.
Try composer self-update
and then composer global require statamic/cli:^3
again. Paste the entire output.
from cli.
Here's what I get in return
Upgrading to version 2.6.5 (stable channel).
Use composer self-update --rollback to return to version 2.5.5
macpro@MacBook-Pro-2 ~ % composer global require statamic/cli:^3
zsh: no matches found: statamic/cli:^3
from cli.
What about composer global update statamic/cli
?
from cli.
Ok 😄 How about this:
composer global require "statamic/cli ^3.0"
from cli.
@robdekort If he has v1 in his composer.json file, an update
isn't going to make the major jump to 3.
from cli.
Ah got it. I'll see myself out.
from cli.
Can I edit that file directly? Currently:
{
"require": {
"squizlabs/php_codesniffer": "*",
"statamic/cli": "^1.0"
}
}
from cli.
Yep, change that to ^3.0
then run composer global update
.
from cli.
Success! The CLI tool now works as expected. Thank you so much for patience and sticking with this one. -Michael
from cli.
Related Issues (20)
- zsh: command not found: statamic HOT 1
- Install fails when attempting to create a new site HOT 4
- Downloading starter kits needs GH credentials HOT 9
- Can't generate new site via CLI due to symfony console version HOT 1
- Version is off HOT 1
- Explainer on GH rate limits and GH auth HOT 1
- Warn when giving an invalid starter kit
- Error when creating super user in Windows HOT 1
- Improve messaging around missing composer github token HOT 6
- Conflicts with Symfony console HOT 5
- Feature Request: Option to install npm dependencies? HOT 2
- Problem installing Statamic PEAK starter kit HOT 2
- Issue getting this to install HOT 9
- Can't install Starter Kit after transferring 'organisation' HOT 3
- Being asked to update, no update found HOT 5
- Laravel Prompts in Starter Kit not interactive HOT 3
- exec statamic new $sitename fails if any element of the path contains a space on OSX HOT 2
- `statamic new` requires tty to run HOT 3
- Unusable when statamic.com is experiencing an outage HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.