Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upstandard: Unexpected linter output #1223
Comments
This comment has been minimized.
This comment has been minimized.
stale
bot
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
bot
added
the
stale
label
Feb 6, 2019
stale
bot
closed this
Feb 13, 2019
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.
yf287 commentedNov 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: 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