Giter Site home page Giter Site logo

Comments (6)

dpom avatar dpom commented on June 2, 2024 1

I found the error: run! doesn't work if there is no .clj-kondo folder in classpath or root directory
In my case the solution was to add:

RUN mkdir /app/.clj-kondo

in my Dockerfile

from clj-kondo.

borkdude avatar borkdude commented on June 2, 2024

Have you checked that /tmp/project/src exists in your docker image? Perhaps execute ls /tmp/project/src to see what it outputs?

from clj-kondo.

dpom avatar dpom commented on June 2, 2024

Yes, I checked in the docker container that /tmp/project contains the project to be analysed. The application is a web based one, and I could connect to the container with docker exec

from clj-kondo.

borkdude avatar borkdude commented on June 2, 2024

Can you run with the --debug flag? clj-kondo will print which files are linted:

 $ clj-kondo --lint src --debug
[clj-kondo] Linting file: src/twge.cljc
[clj-kondo] Linting file: src/doc.cljs

from clj-kondo.

dpom avatar dpom commented on June 2, 2024

I don't know what's going on. I added :debug true to the run! map and the container worked correctly. To check I removed the option and now the container works correctly. The same code was not working yesterday!

from clj-kondo.

borkdude avatar borkdude commented on June 2, 2024

Glad it's solved!

from clj-kondo.

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.