Reputation: 23
I had to remove the current version of the node and downgrade to a later version to finish up with another project. Afterwards I reinstalled back to version 20 of node, but my nextjs project hasn;t been working ever since!!!
PS C:\Github\portfolio.2.0> npm start
> [email protected] start
> next start
▲ Next.js 14.0.1
- Local: http://localhost:3000
[Error: ENOENT: no such file or directory, open 'C:\Github\portfolio.2.0\.next\BUILD_ID'] {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'C:\\Github\\portfolio.2.0\\.next\\BUILD_ID'
}
any one know how to fix this?
I should have been able to run the application. Now its says the buildid file is missing?
Upvotes: 0
Views: 314
Reputation: 339
Looks like there is no build folder. Run 'npm run build' script to build your project and then run 'npm run start'.
Upvotes: 0