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

Fresh install EACCES: permission denied, scandir '//lost+found' #3363

Closed
martin-sweeny opened this issue Nov 17, 2019 · 3 comments
Closed

Fresh install EACCES: permission denied, scandir '//lost+found' #3363

martin-sweeny opened this issue Nov 17, 2019 · 3 comments
Assignees
Milestone

Comments

@martin-sweeny
Copy link

@martin-sweeny martin-sweeny commented Nov 17, 2019

Please tell us about your:

Environment

  • hint version: v5.4.1
  • Node.js version: v12.11.0
  • npm version: 6.11.3

webhint configuration

webhint’s configuration
{
    "extends": ["development"]
}

URL for which webhint failed

Output

Please include the raw output generated by webhint, or if possible,
the raw output from running webhint in debug mode: hint --debug <URL>.

webhint’s raw output

  hint:engine Starting the analysis on http://localhost:3000/ +0ms
  hint:cli:analyze Failed to analyze: undefined +1s
  hint:cli:analyze AnalyzerError: EACCES: permission denied, scandir '//lost+found'
  hint:cli:analyze     at Analyzer.analyze (/run/media/msweeny/Data/Code/osedea-test/node_modules/hint/dist/src/lib/analyzer.js:150:23) +0ms
  hint:cli:analyze Total runtime: 38ms +0ms
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@molant

This comment has been minimized.

Copy link
Member

@molant molant commented Nov 18, 2019

@martin-sweeny your debug output is really unexpected. Are you running Linux?
While we investigate what's going on, can you give it a try with web-recommended? That's the configuration we advice when analyzing http and it will catch other things that development doesn't (which is more for local files).

In any case, the error you are seeing is not expected at all 🤔

@molant molant added this to the 1911-2 milestone Nov 18, 2019
sarvaje added a commit to sarvaje/hint that referenced this issue Nov 20, 2019
@sarvaje

This comment has been minimized.

Copy link
Member

@sarvaje sarvaje commented Nov 20, 2019

The issue in this case is because you are trying to use configuration-development with an URL.
configuration-development use by default the connector-local which is translating you URL to the / directory and basically is trying to scan all files in you computer. In the PR #3370 I'm adding a check to be sure the connector is receiving a file, if not, it will return an exception.

@sarvaje sarvaje self-assigned this Nov 20, 2019
@molant molant closed this in 5654256 Nov 21, 2019
@molant

This comment has been minimized.

Copy link
Member

@molant molant commented Nov 21, 2019

@martin-sweeny fix will be in the next release that should be after Thanksgiving week (🤞)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.