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
Add a video (I used webm and mp4) to the images/ folder.
Running elm-pages build will now error. We can see an error from the sharp output:
[Error: Input file contains unsupported image format]
error Command failed with signal "SIGSEGV".
(yarn tells me elm-pages build exited with SIGSEGV)
A little worse: If we run elm-pages develop, we don't get any error besides some missing import errors:
🚀 elm-pages develop on http://localhost:3000
webpack built 2d56590df3918cc2b233 in 2702ms
✖ 「wdm」:
ERROR in ./src/Main.elm
Module build failed (from ./node_modules/elm-pages/node_modules/elm-webpack-loader/index.js):
Error: Compiler process exited with error Compilation failed
Dependencies ready!
Compiling (10)-- MODULE NOT FOUND ------------------------------------------- src/Metadata.elm
You are trying to import a `Pages` module:
6| import Pages
^^^^^
I checked the "dependencies" and "source-directories" listed in your elm.json,
but I cannot find it! Maybe it is a typo for one of these names?
Parser
Ports
Regex
App
Hint: If it is not a typo, check the "dependencies" and "source-directories" of
your elm.json to make sure all the packages you need are listed there!
Fix
This is just an unfortunate error message. A user can fix this by moving video files to the static/ folder.
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Add a video (I used
webm
andmp4
) to theimages/
folder.Running
elm-pages build
will now error. We can see an error from thesharp
output:(yarn tells me
elm-pages build
exited withSIGSEGV
)A little worse: If we run
elm-pages develop
, we don't get any error besides some missing import errors:Fix
This is just an unfortunate error message. A user can fix this by moving video files to the
static/
folder.The text was updated successfully, but these errors were encountered: