Using TypeScript on Next.js 15.1.5
I'm packing up my web app into a docker container using GitHub Actions.
When I build and run the docker container locally, from my working directory, it works perfectly
When the Action runs on GitHub, I get the following error:
#9 4.072 Failed to compile.
#9 4.072
#9 4.073 ./src/app/layout.tsx
#9 4.073 Module not found: Can't resolve '@/styles/master.css'
The file exists within the build context, as I can see it when running ls -R, but the builder can't seem to resolve @/styles/master.css from my layout.tsx, but it does it completely fine on my local machine
Any help would be appreciated.
https://github.com/ChaosCantrip/Portfolio <<< The repo in question.
I understand it's an issue happening on GitHub so this may not be the entirely correct place, but I believe the error may be happening due to a misconfiguration in the next.js end of things, as the file itself is present in the build context.