Weird error on 'next dev' and 'next build'
Unanswered
Adam posted this in #help-forum
AdamOP
23 Replies
AdamOP
NOTE: the project is new and setuped by
npx create-next-app@latest testappi tryed setuping multi projects to see if the error from me or from Next.js and i think its from Nextjs
Bonga shad
Are you getting this error while building . Static page generation for / is still timing out after 3 attempts.
I think your issues is related to package.json.
@Bonga shad Are you getting this error while building . Static page generation for / is still timing out after 3 attempts.
AdamOP
try making a new project by
with
npx create-next-app@latestwith
tailwindcss no-eslint app-dir tsand then try
npm run dev or npm run build@Adam Click to see attachment
AdamOP
then you will get this huge error
Bonga shad
trying...
Bonga shad
Look . its working fine
@Adam
AdamOP
idk but in each new project i try to create with create-next-app i get this error after using
## Error
npm run dev or npm run build## Error
https://pastebin.com/ii1eYWNg
## package.json
{
"name": "test",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"react": "^18",
"react-dom": "^18",
"next": "14.2.3"
},
"devDependencies": {
"typescript": "^5",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"postcss": "^8",
"tailwindcss": "^3.4.1"
}
}AdamOP
-------------
any help?
Bonga shad
My issue is resolved . i switched to old commit and then switched back