jinglybits
PROOP
a year 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 š
2 Replies
a year ago
your yarn build never finished, as per your build logs -
Error: error:0308010C:digital envelope routines::unsupportedthanks! If anyone else runs into this error, you can get around it by prefixing your build command: NODE_OPTIONS=--openssl-legacy-provider yarn build