npm ERR! maxAge must be a number
Unanswered
Korat posted this in #help-forum
KoratOP
Hello,
i am trying to install a nextjs application but i am getting the following error
Node version : v20.6.1 tried with 18.17
npm version: v9.8.1
i am trying to install a nextjs application but i am getting the following error
Node version : v20.6.1 tried with 18.17
npm version: v9.8.1
Initializing project with template: app-tw
Installing dependencies:
- react
- react-dom
- next
Installing devDependencies:
- typescript
- @types/node
- @types/react
- @types/react-dom
- autoprefixer
- postcss
- tailwindcss
- eslint
- eslint-config-next
npm ERR! maxAge must be a number
npm ERR! A complete log of this run can be found in: /Users/kareemhelal/.npm/_logs/2024-03-04T12_10_50_154Z-debug-0.log
Aborting installation.
npm install has failed.1 Reply
That's generally caused by one of the packages that you're trying to install. Try to figure out which one it is and possibly downgrade it to a previous version. The complete logs might give you some useful information.