Hi Nick! I got curious when you said that you couldn't reproduce the problem so I tried to do the same in another folder, and I was unable to reproduce the problem as well. After spending some time in my main project, removing lines to narrow down the problem, I managed to get my main project to work with the repl! I'm still not sure what broke and why, but it seems it got fixed when I removed the elm-stuff folder. I suppose there were some cache somewhere screwing with the repl :/
Thank you all for trying to help! On Saturday, May 28, 2016 at 4:45:27 AM UTC+9, Nick H wrote: > > Three questions: > > 1. What happens if you run > > rm -rf elm-stuff/build-artifacts > > And then try elm-repl again? > > 2. Would you mind sharing your entire elm-package.json? > > 3. Is 0.17 the only version of Elm you have installed? > > I wasn't able to reproduce your problem, so I am just trying to get more > info. > > > On Fri, May 27, 2016 at 5:20 AM, Shump <[email protected] <javascript:> > > wrote: > >> My elm-package.json has the following entry: >> ... >> "source-directories": [ >> "src" >> ], >> ... >> >> and my directory looks like this (minus elm-stuff folder in the root) >> . >> ├── build >> │ └── MyModule.js >> ├── elm-package.json >> ├── index.html >> └── src >> └── MyModule.elm >> >> and I try to launch elm-repl from the root with no parameters. In the >> repl I try to import with `import MyModule` which reports: >> elm-make: elm-stuff/build-artifacts/0.17.0/user/project/1.0.0/Repl.elmo: >> openFile: does not exist (No such file or directory) >> >> >> >> On Thursday, May 26, 2016 at 11:26:46 PM UTC+9, Max Goldstein wrote: >>> >>> Have a look at elm-package.json. It lists the source directories, and >>> probably had . instead of ./src. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Elm Discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Elm Discuss" 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.
