Giter VIP home page Giter VIP logo

Comments (4)

gcko avatar gcko commented on June 28, 2024 1

@destnguyxn ah! well in that case, the solution would be to change it from an ERROR to an INFO message, or WARN

from nx-sonarqube.

gcko avatar gcko commented on June 28, 2024

@koliveira15 The issue for me is that I define a package.json at the root level, and not for each application. Reading the code in utils.js, I notice that it is expecting each application to have a package.json file. I suggest you add a fallback to check the root directory for a package.json file and use the version from there

from nx-sonarqube.

gcko avatar gcko commented on June 28, 2024

@destnguyxn a "quick fix" to remove the error is to add projectVersion to your sonar options:

{
...
"sonar": {
      "executor": "@koliveira15/nx-sonarqube:scan",
      "options": {
        "projectVersion": "1.0",
        ...
      }
    }
  }
}

from nx-sonarqube.

destnguyxn2 avatar destnguyxn2 commented on June 28, 2024

@gcko the plugin does have a fallback to the root directory when not found the package.json , it just the error message seems annoying and may cause misunderstanding.

Thank you for the quick fix 😄

from nx-sonarqube.

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.