I get the following error while trying to serve node_modules folder:
ELOOP: Too many symbolic links encountered
syscall: "stat"
errno: -40
The solution is to not call listFiles if alwaysStatic is set to false. I also think forcing static behavior in production should be removed, as it can be done easily by the library consumer. It is a one-liner like this:
I get the following error while trying to serve
node_modules
folder:The solution is to not call
listFiles
ifalwaysStatic
is set to false. I also think forcing static behavior in production should be removed, as it can be done easily by the library consumer. It is a one-liner like this:You can find modified version addressing this issue here