I encountered next issue:
Error: ENOENT: no such file or directory, rename '/home/user/my-web/.next/export/en/cities/berlin.html' -> '/home/user/my-web/.next/server/pages/en/cities/berlin.html'
What's the problem? Name collision?
I encountered next issue:
Error: ENOENT: no such file or directory, rename '/home/user/my-web/.next/export/en/cities/berlin.html' -> '/home/user/my-web/.next/server/pages/en/cities/berlin.html'
What's the problem? Name collision?
Discussed here: NPM: ENOENT: no such file or directory, rename
Possible reason, some node process is running. Check the running processes.
Easiest fix, delete package-lock.json and then reinstall packages. If this does not work, refer the given link for other possible resolutions and explanations.