Skip to main content

36 posts tagged with "Node.js"

Node.js JavaScript Runtime

View All Tags

How to Pin Exact npm Package Versions

· 6 min read
Jagdish Kumawat
Founder @ Dewiride

When npm installs a package, it writes a version range into package.json: ^4.6.7 means "4.6.7 or any newer 4.x". If you want package.json to say exactly which version your project uses, one setting in a project's .npmrc makes every install save an exact version. This guide shows the default, the setting, how to pin a package that is already there, and the one-off flag.

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.