Khateeb ahmad
Khateeb ahmad

Reputation: 1

How to solve React ENOENT error. when i start npm it show this error 'C:\\Users\\User\\Desktop\\react app\\new-react-app\\.next\\BUILD_ID'

▲ Next.js 14.0.1

[Error: ENOENT: no such file or directory, open 'C:\Users\User\Desktop\react app\new-react-app.next\BUILD_ID'] { errno: -4058, code: 'ENOENT', syscall: 'open', path: 'C:\Users\User\Desktop\react app\new-react-app\.next\BUILD_ID' }

please solve this problem

Upvotes: -1

Views: 107

Answers (1)

Larkin
Larkin

Reputation: 21

Either start the app with:

npm run dev

Or try to first build your site like this:

npm run build

Followed by:

npm start

Upvotes: 0

Related Questions