node-license-sniffer
node-license-sniffer copied to clipboard
node-license-sniffer attempts to scan macOS .DS_Store folders and fails
On macOS, node-license-sniffer attempts to scan the .DS_Store file as folder and fails:
$ node-license-sniffer --recurse
{ Error: ENOTDIR: not a directory, open 'node_modules/.DS_Store/package.json'
errno: -20,
code: 'ENOTDIR',
syscall: 'open',
path: 'node_modules/.DS_Store/package.json' }
Removing the .DS_Store file before running node-license-sniffer is a work around.
Thanks for the issue. I'm not actively working on node-license-sniffer at the moment, so I'm unlikely to address this in the near future.
On Fri, 12 May 2017 14:47:19 -0700 Jason Harrison [email protected] wrote:
On macOS, node-license-sniffer attempts to scan the .DS_Store file as folder and fails:
$ node-license-sniffer --recurse { Error: ENOTDIR: not a directory, open
'node_modules/.DS_Store/package.json' errno: -20, code: 'ENOTDIR', syscall: 'open', path: 'node_modules/.DS_Store/package.json' }
Removing the .DS_Store file before running node-license-sniffer is a work around.