Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yarn and Node issue in Kotlin project #329

Open
Maddin-M opened this issue Mar 7, 2023 · 0 comments
Open

Yarn and Node issue in Kotlin project #329

Maddin-M opened this issue Mar 7, 2023 · 0 comments

Comments

@Maddin-M
Copy link

Maddin-M commented Mar 7, 2023

Similar to #279, i have the issue of the plugin not working due to a missing yarn installation.

  • I understand that this error happens, when the plugin scans a yarn.lock file, but in my project directory there is no such file.
  • The workaround in the other issue doesn't work for me too (error when yarn is not installed #279 (comment))
    • Also it seems to me that the notation is different in Kotlin DSL, I used:
      configure<DependencyCheckExtension> {
          analyzers.nodeAudit.enabled = false
          analyzers.nodeAudit.yarnEnabled = false
      }
      
  • Also the plugin is looking for about 30+ package.json files in my local appdata directory for some reason:
    • Unable to find node module: C:\Users\foobar\AppData\Local\Temp\dctemp(...)\package.json

I'm using 8.1.2 in a multi-module project, and followed the steps in the Readme.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant