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
{{ message }}
This repository was archived by the owner on Aug 18, 2021. It is now read-only.
hzoo here just adding: this is fixed the latest 2 versions (update your babel-eslint).
npm i babel-eslint will be >= 4.1.7.
Use npm install --save-dev babel-eslint@next or npm i babel-eslint@5.0.0-beta9
escope updated to babel 6
Eslint version: 1.4.1, 1.10.3 babel-eslint: 4.1.4
The error:
TypeError: Cannot read property 'visitClass' of undefined
at monkeypatch (/usr/local/lib/node_modules/babel-eslint/index.js:201:40)
at Object.exports.parse (/usr/local/lib/node_modules/babel-eslint/index.js:374:5)
at parse (/usr/local/lib/node_modules/eslint/lib/eslint.js:539:27)
at EventEmitter.module.exports.api.verify (/usr/local/lib/node_modules/eslint/lib/eslint.js:663:19)
at processText (/usr/local/lib/node_modules/eslint/lib/cli-engine.js:220:27)
at processFile (/usr/local/lib/node_modules/eslint/lib/cli-engine.js:257:18)
at executeOnFile (/usr/local/lib/node_modules/eslint/lib/cli-engine.js:600:23)
at /usr/local/lib/node_modules/eslint/lib/cli-engine.js:624:17
at Array.forEach (native)
at CLIEngine.executeOnFiles (/usr/local/lib/node_modules/eslint/lib/cli-engine.js:622:18)
No matter what path i give eslint (eslint *.js, eslint androgenix/assets/js/**/*.js) i get this error. Not sure where to start looking to fix this. Our old projects seem to work okay but we just started this one and are receiving this error.
hzoo here just adding: this is fixed the latest 2 versions (update your babel-eslint).
npm i babel-eslintwill be >= 4.1.7.Use
npm install --save-dev babel-eslint@nextornpm i babel-eslint@5.0.0-beta9Eslint version:
1.4.1,1.10.3babel-eslint:4.1.4The error:
No matter what path i give eslint (
eslint *.js,eslint androgenix/assets/js/**/*.js) i get this error. Not sure where to start looking to fix this. Our old projects seem to work okay but we just started this one and are receiving this error.