Npm upload doesn’t handle folders
What happened: When I do an upload to an npm repo from a folder with nested folders it gets a fatal error that folder name is a directory.
What you expected to happen: It should handle folders. It managed to backup a repo with them preserving the structure.
How to reproduce it (as minimally and precisely as possible): Create a nested folder structure and attempt to upload
Anything else we need to know?: n3dr handles downloading a repo with nested folders just fine and recreates this successfully
Environment:
- nexus version: 3.30.1-01
- n3dr version (use
n3dr -v): built from source today - OS (e.g:
cat /etc/os-release): macOS catalina - Kernel (e.g.
uname -a): - Others:
Did you use the repositories or repositoriesV2 command?
Documentation confusion, works as per developers suggestion
I am facing the same issue , i have tried with both repositories and repoistoriesv2. how can i fix this?
@deegupt4 Could you indicate what command was run? Did you specify -r and did you run the command from the root, e.g. if repo resides in /tmp/some-repo and the n3dr command should be run from /tmp or the directory-prefix command should be used.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.