[Error: ENOENT: no such file or directory, rename `some` to `some`
See original GitHub issueDescribe the bug
run yarn build
It gives the error:
info - Generating static pages (54/54)
> Build error occurred
[Error: ENOENT: no such file or directory, rename '/Users/mikhailkiselyov/WebstormProjects/tajwork/.next/export/ru/index/index/Footer.html' -> '/Users/mikhailkiselyov/WebstormProjects/tajwork/.next/server/pages/ru/index/index/index/Footer.html'] {
errno: -2,
code: 'ENOENT',
syscall: 'rename',
path: '/Users/mikhailkiselyov/WebstormProjects/tajwork/.next/export/ru/index/index/Footer.html',
dest: '/Users/mikhailkiselyov/WebstormProjects/tajwork/.next/server/pages/ru/index/index/index/Footer.html'
}
error Command failed with exit code 1.
Occurs in next-i18next version
^11.0.0
Steps to reproduce
yarn build
done
Expected behaviour
Correct build
Screenshots
Not required
OS (please complete the following information)
Operating System:
Platform: darwin
Arch: x64
Version: Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:24 PDT 2021; root:xnu-8019.41.5~1/RELEASE_ARM64_T8101
Binaries:
Node: 14.17.5
npm: 7.21.1
Yarn: 1.22.11
pnpm: N/A
Relevant packages:
next: 12.1.7-canary.29
react: 18.1.0
react-dom: 18.1.0
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:6 (2 by maintainers)
Top Results From Across the Web
NPM: ENOENT: no such file or directory, rename
When I got this error I looked for all running instances of node in my task manager (i use process explorer ...
Read more >How to fix: npm ERR! enoent ENOENT: no such file or ...
I recently struggled for a while with an npm error thrown when executing npm install of some package. The error message was npm...
Read more >When 'npm install' > "ENOENT: no such file or directory ...
I fixed it by uninstalling node, npm and everything with it (and reinstalled everything afterwards of course). 1
Read more >ENOENT: no such file or directory - Laracasts
Hey guys, Fresh laravel 5.6 installation on debian with Npm version 5.6.0 giviz@localhost:/mnt/hgfs/Code/project.test/gui$ npm install --no-bin-links npm ...
Read more >Can't update npm to newest version on Ubuntu - Super User
Which installs npm version 3.5.2. Then I try to update it to newest version and it fails. Could not find a proper solution...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@fxck @GemN @ksielyov hello , did you find a solution about that ? Thanks
happens on build as well, can’t figure out why