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

standard: Unexpected linter output #1223

Closed
yf287 opened this issue Nov 8, 2018 · 1 comment

Comments

@yf287
Copy link

commented Nov 8, 2018

*What version of standard?
v12.0.1

What operating system, Node.js, and npm version?
mac os10.13.6
node V8.12.0
npm v6.4.1

What did you expect to happen?
standard works when running 'npm run standard'.I've already writen scripts "standard": "standard" in package.json

What actually happened?
npm err:

standard

standard: Unexpected linter output:

TypeError: Cannot convert undefined or null to object
at Function.keys ()
at Object.keys (/Users/lianjia/Documents/my_code/vue-router-test/node_modules/flat-cache/cache.js:52:19)
at removeNotFoundFiles (/Users/lianjia/Documents/my_code/vue-router-test/node_modules/file-entry-cache/cache.js:18:35)
at Object.create (/Users/lianjia/Documents/my_code/vue-router-test/node_modules/file-entry-cache/cache.js:31:5)
at new LintResultCache (/Users/lianjia/Documents/my_code/vue-router-test/node_modules/standard/node_modules/eslint/lib/util/lint-result-cache.js:62:46)
at new CLIEngine (/Users/lianjia/Documents/my_code/vue-router-test/node_modules/standard/node_modules/eslint/lib/cli-engine.js:430:37)
at /Users/lianjia/Documents/my_code/vue-router-test/node_modules/standard-engine/index.js:119:16
at /Users/lianjia/Documents/my_code/vue-router-test/node_modules/deglob/index.js:51:12
at end (/Users/lianjia/Documents/my_code/vue-router-test/node_modules/run-parallel/index.js:18:15)
at done (/Users/lianjia/Documents/my_code/vue-router-test/node_modules/run-parallel/index.js:22:10)

If you think this is a bug in standard, open an issue: https://github.com/standard/standard/issues

@stale

This comment has been minimized.

Copy link

commented Feb 6, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Feb 6, 2019

@stale stale bot closed this Feb 13, 2019

@lock lock bot locked as resolved and limited conversation to collaborators May 14, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
1 participant
You can’t perform that action at this time.