NextJS 14.1 - [Error: ENOENT: no such file or directory, BUILD_ID
Answered
Masai Lion posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/4.png)
Masai LionOP
Did a fresh installation using
[Error: ENOENT: no such file or directory, open 'C:\src\ui.next\BUILD_ID'] {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'C:\src\ui\.next\BUILD_ID'
npx create-next-app@latest
and I get the following when I do npm start
:[Error: ENOENT: no such file or directory, open 'C:\src\ui.next\BUILD_ID'] {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'C:\src\ui\.next\BUILD_ID'
14 Replies
![Avatar](https://cdn.discordapp.com/embed/avatars/3.png)
Havana
Open a workspace or a directory in VSCode or your IDE
![Avatar](https://cdn.discordapp.com/embed/avatars/4.png)
Masai LionOP
what do you mean
![Image](https://cdn.discordapp.com/attachments/1198223986597834772/1198224370590564382/image.png?ex=65be2067&is=65abab67&hm=8b2490f0923855334bc6383e056328d42dc077439d3a97bb2fde8e35c6ca0b2c&)
![Avatar](https://cdn.discordapp.com/embed/avatars/3.png)
Havana
do you have
.next
folder?![Avatar](https://cdn.discordapp.com/embed/avatars/4.png)
Masai LionOP
This only happens in Next 14.1
was using 14.0 it was fine - just wanted to try out 14.1
Do I have to create it ?
![Avatar](https://cdn.discordapp.com/embed/avatars/3.png)
Havana
no
![Avatar](https://cdn.discordapp.com/embed/avatars/4.png)
Masai LionOP
all I did was
npx create-next-app@latest
![Avatar](https://cdn.discordapp.com/embed/avatars/3.png)
Havana
Run
npm run build
then npm run start
Answer
![Avatar](https://cdn.discordapp.com/embed/avatars/4.png)
Masai LionOP
Oh wow - thanks
previously
npm start
would build without needing to run npm build
- definitely something changed in 14.1Thanks @Havana !
![Avatar](https://cdn.discordapp.com/embed/avatars/3.png)
Havana
np