You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ npx elm-pages init my-site && cd my-site && npx elm-pages run script/src/AddRoute.elm AboutThisSite
The output I get is:
Creating my-site project...
Project is successfully created in `/home/adam/src/my-site`.
Trace
at Command.<anonymous> (file:///home/adam/.npm/_npx/f522c3e74dfcf71b/node_modules/elm-pages/generator/src/cli.js:168:17)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
If I run npx elm-pages build, I can then run the elm-pages run ... command successfully.
The text was updated successfully, but these errors were encountered:
Thanks for taking a look. I think this might be due to missing tools, because I'm running without almost anything globally installed. If that's the case, the bug is that there's no error message (it's an empty string). I'm digging in a bit to see what's happening.
Do you have lamdera, elm-review, and other tools that an elm-pages build uses installed globally?
Gotcha, that would probably explain it! I might not have those checks for running scripts, I do have them for the build and dev server I think. Thanks for the context!
I'm using Elm Pages v3.0.9.
This is easy to reproduce with this command:
The output I get is:
If I run
npx elm-pages build
, I can then run theelm-pages run ...
command successfully.The text was updated successfully, but these errors were encountered: