Giter VIP home page Giter VIP logo

Comments (4)

kapware avatar kapware commented on July 21, 2024 4

Just for reference, if someone stumbles here looking for similar looking error:
Error like Uncaught Error: Undefined nameToPath for namespace.name happened to me, when I moved cljs file to another directory, changed require, but forgot to actually rename the namespace definition.

from cljs-http.

r0man avatar r0man commented on July 21, 2024 2

Do you have transit-cljs in lein deps :tree?
Does a lein clean or lein cljsbuild clean help?

from cljs-http.

theronic avatar theronic commented on July 21, 2024 2

As per @kapware, check that your (ns my-project.app) matches the folder structure, e.g. if located at ~/src/cljs/my-project/app.cljs. Even a single character will cause this. This catches me all the time - I wish the compiler would warn me, or just not care. The whole concept of files for this seems broken to me. Which matters - namespaces or files? Either namespaces should be the true modular layout, or files - not both.

from cljs-http.

Gonzih avatar Gonzih commented on July 21, 2024

lein clean fixed that. Thx!


Regards,
Max

On Fri, Oct 10, 2014 at 10:58 PM, r0man [email protected] wrote:

Do you have transit-cljs in lein deps :tree?

Does a lein clean or lein cljsbuild clean help?

Reply to this email directly or view it on GitHub:
#29 (comment)

from cljs-http.

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.