Skip to main content

12 posts tagged with "npm"

npm, the Node.js Package Manager, Its Commands and package.json

View All Tags

Fixed: "typescript-eslint does not support TS 7.0." in a Next.js App

· 8 min read
Jagdish Kumawat
Founder @ Dewiride

After I updated a new Next.js app to TypeScript 7.0.2, npm run lint stopped with typescript-eslint does not support TS 7.0. TypeScript 7.0 ships without the compiler API that typescript-eslint reads code with. The TypeScript team's own fix is two npm aliases: TypeScript 6's API for ESLint, and TypeScript 7's tsc for everything else.

Fixed: "The application path is not writable, please check folder permissions and try again." in create-next-app

· 7 min read
Jagdish Kumawat
Founder @ Dewiride

create-next-app refused to create my Next.js app in web/agent-chat-ui with The application path is not writable, please check folder permissions and try again. The permissions were fine. The parent folder, web, didn't exist yet, and create-next-app reports a missing parent folder the same way as a locked one. Creating web first fixed it.