Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(lit-analyzer) breaks on cyclical symblinks #355

Open
maxpatiiuk opened this issue Apr 15, 2024 · 0 comments
Open

bug(lit-analyzer) breaks on cyclical symblinks #355

maxpatiiuk opened this issue Apr 15, 2024 · 0 comments

Comments

@maxpatiiuk
Copy link

Example:
if /lit-components/tests/lazy-consumer/node_modules/lit-components/ is a symlink to /lit-components/, lit-analyzer will crash with this error:

~/site/esri/arcgis-web-components/packages/lit-components lit-research*   yarn lit-analyzer .
[Error: ENAMETOOLONG: name too long, scandir '/Users/mak13180/site/esri/arcgis-web-components/packages/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/@esbuild'] {
  errno: -63,
  code: 'ENAMETOOLONG',
  syscall: 'scandir',
  path: '/Users/mak13180/site/esri/arcgis-web-components/packages/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/@esbuild'
}

Not a big deal as I shouldn't be running it on node_modules anyway, but this may cause issues for other users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant