Comments (3)
@xakraz make sure you have the latest version of @oclif/core
I noticed that the oclif generator sets @oclif/core@^1
that resolves to 1.0.x
and cli-ux
is available in later versions only.
from core.
Here are some debug output while following https://oclif.io/docs/debugging
TypeError: this.options.sort.split is not a function
at Table.display (/Users/xakraz/Sources/github.com/my-cli/node_modules/@oclif/core/lib/cli-ux/styled/table.js:76:47)
at Object.table (/Users/xakraz/Sources/github.com/my-cli/node_modules/@oclif/core/lib/cli-ux/styled/table.js:279:39)
at ListCommand.run (/Users/xakraz/Sources/github.com/my-cli/src/commands/list.js:56:14)
at async ListCommand._run (/Users/xakraz/Sources/github.com/my-cli/node_modules/@oclif/command/lib/command.js:43:20)
at async Config.runCommand (/Users/xakraz/Sources/github.com/my-cli/node_modules/@oclif/config/lib/config.js:173:24)
at async Main.run (/Users/xakraz/Sources/github.com/my-cli/node_modules/@oclif/command/lib/main.js:27:9)
at async Main._run (/Users/xakraz/Sources/github.com/my-cli/node_modules/@oclif/command/lib/command.js:43:20)
from core.
@xakraz I wasn't able to replicate this - are you still experiencing this issue on the latest version?
from core.
Related Issues (20)
- Import packge.json (using esm) HOT 1
- Adding plugins from GitHub/Gitlab repositories HOT 2
- topics with no same-name command give odd help info HOT 2
- when does not support flags with false values
- [observed in v2] cli exits with code 0 even when the command is incorrect HOT 2
- `./bin/dev` loads from /src/commands ONLY if `/dist` does not exist HOT 3
- Receive `UnexpectedArgsError` when wrapping args/flags HOT 1
- `deprecated` property does not work when `=` is used to provide value HOT 4
- Return result in Main.ts run function HOT 2
- Cannot use arguments starting with '-' HOT 2
- Recommended way to override `parse` in custom command HOT 4
- NonExistentFlagsError when running this.parse and strict set to false
- Required args shown as optional in generated usage string HOT 1
- Flag parse context is not a `Command` instance HOT 1
- "AbortController is not defined" error on Node 14 HOT 1
- the demo in README is wrong HOT 1
- Topic Flags HOT 1
- [doc] Page not found HOT 1
- Print valid command/flags when passing in an invalid value HOT 5
- Ability to use a flag with type `boolean | string[]` HOT 2
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 core.