Comments (7)
Are you running oao as a global package or inside your application?
If inside your application: could you please copy the result of npm list commander
?
from oao.
(I bet some other dependency is using an older version of commander
…)
from oao.
I am running oao inside my app ! Only yarn is installed as a global package.
npm list commander
:
@viper/[email protected] /home/app
`-- [email protected]
`-- [email protected]
I don't know if it can help but below you can find a part my scripts that I used to run oao :
"all": "oao all -s ./packages/*/",
"bootstrap": "oao bootstrap -s ./packages/*/",
"transpile": "ngc -p ./packages/tsconfig.json",
"package": "npm run all -- \"rollup -c rollup.config.js\"",
"build": "npm-run-all bootstrap transpile package",
from oao.
Several notes:
- Please check whether it works with
-s packages/*
, or without the-s
flag altogether, sincepackages/*
is already the default value - Could you please provide the simplest possible reproduction (with as few dependencies as possible) in the form of a working gist, a repo, or some instructions? Thanks!
Also (nothing to do with the issue): I guess your oao all
call is missing the command argument.
from oao.
- I put the argument "
-s packages/*/
" with a "/" at the end (and not "-s /packages/*
") before you improved the filter to avoid getting non folder in your listPath. I will remove it now thx ! - I will try to give you a simple example but it's only with docker !
- the
oao all
is only there to be used with other command likeoao all -- <command>
Again, thanks for your reactivity !
from oao.
After some investigations during the implementation of the simple example, it was indeed caused by the -s /packages/*
argument.
You can find the simple example there jogelin/oao-docker with a simple description in the README.md
from oao.
I guess your problem was caused by a shell exploding the wildcard *
before the argument reached oao
... I'm closing this for now, but reopen if the problem comes back.
from oao.
Related Issues (20)
- Bumping dependencies on publish HOT 25
- Allow --tree in publish command
- Fixing oao publish as a yarn script HOT 2
- [docs] yarn workspaces
- Version packages independently HOT 6
- Recommended workflow HOT 2
- Semantic release HOT 4
- publish cannot be ran again of npm publish fails HOT 5
- status --src argument cannot accept multiple paths HOT 2
- remove package from all submodules HOT 2
- --ignore-src doesn't like similar names HOT 2
- Publish without version bumping HOT 1
- does not work without installing npm HOT 1
- Allow package to define a folder to publish / link HOT 4
- run-script --tree reads from subpackage node_modules folder in monorepo HOT 1
- Remove `@babel/polyfill` HOT 2
- Add OTP support for publish
- Preserve nr of spaces for output package.json's HOT 1
- Yarn workspaces and --src
- Allow main as publish branch name 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 oao.