【发布时间】:2020-08-04 00:11:42
【问题描述】:
[nodemon] 1.19.1
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: src/**/*
[nodemon] starting `ts-node index.ts`
[nodemon] Internal watch failed: ENFILE: file table overflow
我尝试杀死节点进程,也尝试运行
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
我明白了
sysctl: illegal option -- p
usage: sysctl [-bdehiNnoqx] name[=value] ...
sysctl [-bdehNnoqx] -a
但这些似乎不起作用。我使用的是 macOS 10.15.3
【问题讨论】:
-
我没有收到
ENOSPC错误。很遗憾,它没有帮助:(
标签: node.js macos node-modules