Closed dddssw closed 5 months ago
Did you install Node.js 20?
I used node18 before, but I still got the same error when I switched to node20.
Indeed, I can reproduce the issue, albeit with a slightly different error message:
It might have something to do with the fact that eslint
is shimmed in the docs build, so eslint/use-at-your-own-risk
is undefined. @ota-meshi could you have a look at this please?
Hmm. It works fine on my local machine 🤔
Since the demo still uses ESLint v8, new eslint.Linter().getRules()
should succeed and not try to load eslint/use-at-your-own-risk
.
Oh right, with an npm install
before npm run docs:watch
, it also works for me. (I had the ESlint v9 testing branch checked out locally before.)
@dddssw, does that also resolve the issue for you?
@FloEdelmann emm,It works after I change the branch.I shouldn't use master branch to run it?
I think it works on the master
branch.
After cloning the repository, I executed npm run docs:watch, but it did not proceed as expected. What should I do?