You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you expect to happen?
Run lint without errors.
What actually happened?
$ npm run lint
> puma@0.1.0 lint C:\REDACTED
> vue-cli-service lint
ERROR AssertionError [ERR_ASSERTION]: 'baseToken' should not be null or undefined.
Occurred while linting C:\REDACTED\src\components\Slider3.vue:9
AssertionError [ERR_ASSERTION]: 'baseToken' should not be null or undefined.
at setOffset (C:\REDACTED\node_modules\eslint-plugin-vue\lib\utils\indent-common.js:292:5)
at processNodeList (C:\REDACTED\node_modules\eslint-plugin-vue\lib\utils\indent-common.js:468:7)
at EventEmitter.CallExpression (C:\REDACTED\node_modules\eslint-plugin-vue\lib\utils\indent-common.js:1074:7)
at EventEmitter.emit (events.js:315:20)
at NodeEventGenerator.applySelector (C:\REDACTED\node_modules\vue-eslint-parser\index.js:3309:26)
at NodeEventGenerator.applySelectors (C:\REDACTED\node_modules\vue-eslint-parser\index.js:3323:22)
at NodeEventGenerator.enterNode (C:\REDACTED\node_modules\vue-eslint-parser\index.js:3331:14)
at traverse (C:\REDACTED\node_modules\vue-eslint-parser\index.js:115:13)
at traverse (C:\REDACTED\node_modules\vue-eslint-parser\index.js:127:13)
at traverse (C:\REDACTED\node_modules\vue-eslint-parser\index.js:122:21)
at traverse (C:\REDACTED\node_modules\vue-eslint-parser\index.js:127:13)
at traverse (C:\REDACTED\node_modules\vue-eslint-parser\index.js:127:13)
at traverse (C:\REDACTED\node_modules\vue-eslint-parser\index.js:122:21)
at traverse (C:\REDACTED\node_modules\vue-eslint-parser\index.js:127:13)
at traverse (C:\REDACTED\node_modules\vue-eslint-parser\index.js:122:21)
at traverseNodes (C:\REDACTED\node_modules\vue-eslint-parser\index.js:133:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! puma@0.1.0 lint: `vue-cli-service lint`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the puma@0.1.0 lint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
When changing @click="backdropCloseEvent()" /> to @click="backdropCloseEvent" /> it works and pass.
This error only appears when file is saved with CRLF line endings
Tell us about your environment
Please show your full configuration:
What did you do?
What did you expect to happen?
Run lint without errors.
What actually happened?
When changing
@click="backdropCloseEvent()" />
to@click="backdropCloseEvent" />
it works and pass.This error only appears when file is saved with CRLF line endings
Refs #1261
The text was updated successfully, but these errors were encountered: