diff --git a/.gitignore b/.gitignore index 12b7fcb..fc9b96f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,10 @@ # Dependencies node_modules/ +# No trailing slash as well: `node_modules/` matches DIRECTORIES only, so a SYMLINK named +# node_modules is not ignored by it. That is not hypothetical - an absolute, self-referential +# `server/node_modules -> /home/.../server/node_modules` was committed in the #283 merge and broke +# the payload build with "cp: Too many levels of symbolic links". +node_modules # Databases: SQLite files, WAL/SHM sidecars, and any .db. backups # (e.g. .db.devbak), anywhere in the tree - never commit a database. diff --git a/server/node_modules b/server/node_modules deleted file mode 120000 index 743a1d3..0000000 --- a/server/node_modules +++ /dev/null @@ -1 +0,0 @@ -/home/owner/Downloads/remote_display/server/node_modules \ No newline at end of file