Hi @Chalarangelo! While we can’t help with your source code in depth, this article describes how you can debug and some things you should try, especially around syncing versions between netlify and your local, and watching out for some things like case sensitive filesystems (I see some capital letters in your error: 6:25:35 PM: Snippet.html provided incorrect OutputType: 'Object({ resolve: [function resolve] })'
that might be a contributing factor):
Take a look through there and hopefully you’ll find an answer. If not, you could try printing the error log after build, by using a build command like this:
npm run build ; cat /opt/buildhome/.npm/_logs/2019-*debug.log ; sleep 120 ; false
That will:
- run your build
- even if it fails, send the log file if it exists
- wait 2 minutes to finish logging that output file
- make sure we don’t publish a broken build.
You’ll have to undo that setting once you’ve understood and hopefully fixed the error since your site will never publish with that build command (you can restore to plain npm run build
once fixed)