openvibers/openvibe.report Commits

The node_modules symlink is not source (deploy refused with EISDIR) (#173)

OP OpenVibers committed 3 days ago · bc856447b2 · 2 files, +1 −2

A worktree's node_modules is a symlink to the shared dependency cache, and
.gitignore's "node_modules/" did not match it, so a commit picked it up. The
deploy refused (EISDIR reading that directory). Remove it from the tree and
ignore "node_modules" whether it is a directory or a link.

Changes

ddiff --git a/.gitignore b/.gitignore
iindex c4ac1fa..dbe7a53 100644
---- a/.gitignore
++++ b/.gitignore
@@@ -1,4 +1,4 @@
--node_modules/
++node_modules
.npm-cache/
.ref/
.env
ddiff --git a/node_modules b/node_modules
ddeleted file mode 120000
iindex 0c1cced..0000000
---- a/node_modules
++++ /dev/null
@@@ -1 +0,0 @@
--/home/workstation/.cache/openvibe-deps/OpenVibe.Report/b797ed521960a8bc/node_modules
\\ No newline at end of file