GithubHelp home page GithubHelp logo

Comments (7)

guigrpa avatar guigrpa commented on May 19, 2024

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.

guigrpa avatar guigrpa commented on May 19, 2024

(I bet some other dependency is using an older version of commander…)

from oao.

jogelin avatar jogelin commented on May 19, 2024

I am running oao inside my app ! Only yarn is installed as a global package.

npm list commander :

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.

guigrpa avatar guigrpa commented on May 19, 2024

Several notes:

  • Please check whether it works with -s packages/*, or without the -s flag altogether, since packages/* 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.

jogelin avatar jogelin commented on May 19, 2024
  • 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 like oao all -- <command>

Again, thanks for your reactivity !

from oao.

jogelin avatar jogelin commented on May 19, 2024

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.

guigrpa avatar guigrpa commented on May 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.