Le vendredi 12 août 2016 14:53:35 UTC+2, rumpz a écrit : > It's like it marked down somewhere that those structs refer to the definition > of "word" in webapp/words.rkt, and not the one in webapp2/words.rkt
This sounds to me like it is using the old bytecode files, since the original files haven't changed. Does removing the compiled/ directory fix this issue? Le vendredi 12 août 2016 14:53:35 UTC+2, rumpz a écrit : > (define-namespace-anchor a) > (define ns (namespace-anchor->namespace a)) > > … > > If I compile app.rkt with "raco exe app.rkt" and "raco distribute appdir app" > and I move the "appdir" directory to another system, when I run ./app it > crashes with this error: > > default-load-handler: cannot open module file > module path: #<path:/home/rumpz/webapp/words.rkt> What exactly are you doing with the namespace-anchor? Usually, `dynamic-require` and friends play poorly with compilation (since they require modules at run-time, the compiler can't easily know statically what files to include etc.). -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

