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
Bug: Brand new setup: Oops! Something went wrong! :( ESLint: 8.15.0 AssertionError [ERR_ASSERTION]: Node must be provided when reporting error if location is not provided
#32
Closed
1 task
ormanlis opened this issue
May 16, 2022
· 5 comments
· Fixed by #33
Node version: v16.14.0
npm version: v8.3.1
Local ESLint version: v8.15.0 (Currently used)
Global ESLint version: Not found
Operating System: darwin 21.4.0
What parser are you using?
@typescript-eslint/parser
What did you do?
Configuration
On a brand new setup of aslant wizard it breaks.
yarn add -D eslint
npm init @eslint/config
wizard settings:
Need to install the following packages:
@eslint/create-config
Ok to proceed? (y) y
✔ How would you like to use ESLint? · style
✔ What type of modules does your project use? · esm
✔ Which framework does your project use? · react
✔ Does your project use TypeScript? · No / Yes
✔ Where does your code run? · browser
✔ How would you like to define a style for your project? · guide
✔ Which style guide do you want to follow? · airbnb
✔ What format do you want your config file to be in? · JavaScript
Checking peerDependencies of eslint-config-airbnb@latest
The config that you've selected requires the following dependencies:
eslint-plugin-react@^7.28.0 @typescript-eslint/eslint-plugin@latest eslint-config-airbnb@latest eslint@^7.32.0 || ^8.2.0 eslint-plugin-import@^2.25.3 eslint-plugin-jsx-a11y@^6.5.1 eslint-plugin-react-hooks@^4.3.0 @typescript-eslint/parser@latest
✔ Would you like to install them now? · No / **Yes**
✔ Which package manager do you want to use? · yarn
Installing eslint-plugin-react@^7.28.0, @typescript-eslint/eslint-plugin@latest, eslint-config-airbnb@latest, eslint@^7.32.0 || ^8.2.0, eslint-plugin-import@^2.25.3, eslint-plugin-jsx-a11y@^6.5.1, eslint-plugin-react-hooks@^4.3.0, @typescript-eslint/parser@latest
yarn add v1.22.17
@aladdin-add please be sure to move issues that you’re triaging to the “Triaging” column. Once you have verified a bug, please label as “accepted” and move to “Ready to Implement”. Thanks for helping us keep issues organized.
Environment
Node version: v16.14.0
npm version: v8.3.1
Local ESLint version: v8.15.0 (Currently used)
Global ESLint version: Not found
Operating System: darwin 21.4.0
What parser are you using?
@typescript-eslint/parser
What did you do?
Configuration
On a brand new setup of aslant wizard it breaks.
wizard settings:
What did you expect to happen?
No error
What actually happened?
Oops! Something went wrong! :(
ESLint: 8.15.0
AssertionError [ERR_ASSERTION]: Node must be provided when reporting error if location is not provided
Participation
Additional comments
No response
The text was updated successfully, but these errors were encountered: