Skip to content

Instantly share code, notes, and snippets.

@coreysyms
Last active May 30, 2024 19:15
Show Gist options
  • Save coreysyms/6ab4d093cf0a3d7ef94a284a95d1c9b4 to your computer and use it in GitHub Desktop.
Save coreysyms/6ab4d093cf0a3d7ef94a284a95d1c9b4 to your computer and use it in GitHub Desktop.
Nuxt ELB Error: /var/app/staging/dist: no such file or directory
The problem is that ELB is seeing an aliased folder in the build.
Chances are it's dist from an accidental npm run generate command.
Remove the alias folder, and you remove the problem.
I have also seen this happen with modules on RARE occasions.
@coreysyms
Copy link
Author

On Macs an alias folder has a little arrow next too it. Also there is a little arrow next to the folder in VS Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment