Nuxt2 start fails due to generated .nuxt folder getting trashed in build process
Project id: 0e425c43-fae4-4ebe-9c4c-84a654d8cc1bI 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:
I've tried to preserve this folder through adding cacheDirectories: ['.nuxt', '/app/.nuxt']
to package.json to no avail.
Any help is greatly appreciated π3 Replies
Project ID:
0e425c43-fae4-4ebe-9c4c-84a654d8cc1b
your
yarn build
never finished, as per your build logs -
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