jinglybits
PRO
9 months ago
Project id: 0e425c43-fae4-4ebe-9c4c-84a654d8cc1b
I recently upgraded to nixpacks and it seems that when the docker container is created, it trashes the generated .nuxt
folder which results in this error during the deploy process:
# Nuxt fatal error
Error: No build files found in /app/.nuxt/dist/server.
I've tried to preserve this folder through adding cacheDirectories: ['.nuxt', '/app/.nuxt']
to package.json to no avail.
Any help is greatly appreciated 🙏
0 Replies
9 months ago
your yarn build
never finished, as per your build logs -
Error: error:0308010C:digital envelope routines::unsupported
thanks! If anyone else runs into this error, you can get around it by prefixing your build command: NODE_OPTIONS=--openssl-legacy-provider yarn build