#node

5 entries tagged “node”.

linux

ENOSPC: System limit for number of file watchers reached

ENOSPC: System limit for number of file watchers reached is an inotify limit, not a full disk. Here's how to find what ate your watchers and raise them.

Read the entry →
node

Package subpath is not defined by exports

Package subpath is not defined by exports, plus ts(2307): the file exists, the exports map hides it. Here's how to import a public type instead.

Read the entry →
node

Cannot find package: ESM bare specifiers in config

Cannot find package 'plugins' is Node treating a relative path as a package name. Here is the ESM specifier rule, and the one-character fix.

Read the entry →
plugins

How to design a plugin system for your project

How to design a plugin system: named phases instead of positions, deny-by-default placement, and the defaults that must live outside your constructor.

Read the entry →
docker

Docker EACCES: permission denied, mkdir as a non-root user

A containerized Node app failed with EACCES: permission denied, mkdir './.data' after dropping to a non-root user. Here's the cause and the fix.

Read the entry →