Skip to main content

62 posts tagged with "Node.js"

Node.js JavaScript Runtime

View All Tags

Fixed: "npm warn install-scripts 3 packages had install scripts blocked because they are not covered by allowScripts" (Microsoft 365 Agents Toolkit CLI)

· 8 min read
Jagdish Kumawat
Founder @ Dewiride

I installed the Microsoft 365 Agents Toolkit CLI and npm finished with a warning: three packages had their install scripts blocked. The CLI worked anyway, so the warning looked harmless. It wasn't: one of the blocked scripts belongs to keytar, the library the CLI uses to encrypt the sign-in tokens it saves on your disk.

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.