I'm trying to sort out a compilation problem that I (really, a friend trying to use my code) is seeing. In a nutshell, when he compiles my project he sees this:
----
ERROR in ./src/Main.elm
Module build failed: Error: Compiler process exited with error Compilation failed
Could not find package elm-lang/navigation.
Maybe your elm-stuff/ directory has been corrupted? You can usually fix stuff
like this by deleting elm-stuff/ and rebuilding your project.
Packages configured successfully!
at ChildProcess.<anonymous> (/home/users/russel/Repositories/Git/Forks/ACCU_2017_Elm_App/node_modules/elm-webpack-loader/node_modules/node-elm-compiler/index.js:291:27)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
@ ./src/index.js 10:10-31
----
This is on a Debian 'sid' machine. The compilation is occurring via the elm-webpack plugin, and all of the node/npm tool chain seems to be OK. The build is known to work on OS X, and in fact it seems to work just fine on another Debian 'sid' system, albeit one running inside virtualbox.
After this error the elm-stuff directory exists but is empty. So I know it's a long-shot, but does this ring a bell with anyone? Can you think of what might cause this to happen?
Austin