-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Environment key "jest/globals" is unknown #98
Comments
Everything worked fine yesterday, now I have exactly the same problem and haven't found a solution yet. |
@minblake I just tried again and it suddenly works for me although I haven't changed anything :-) |
@buecki Yeah, same thing happend to me. Strange.. Anyways, thank you! |
Just ran into this issue using:
Did you do anything to fix it? |
@edwin177 the error just suddenly disappeared, so sadly, no. Maybe try deleting your |
Couldn't figure out, but upgrading eslint worked for me:
|
Version 3 of "@nuxtjs/eslint-config-typescript" doesn't work at the moment. Same error.
|
+1 |
Weird I just ran into this issue after upgrading to eslint 8.0.0 I guess |
I run into this today. Already deleted
|
Is there any special reason you are depending on |
we should re-open this @minblake |
This issue has been fix in latest eslint-config by updating eslint and jest plugin. Can you try: yarn upgrade @nuxtjs/eslint-config@latest @nuxtjs/eslint-config-typescript@latest
// or
npm install @nuxtjs/eslint-config@latest @nuxtjs/eslint-config-typescript@latest |
If you specify latest tag, the package will be updated to latest tag which includes major release. |
I do not have typescript or jest |
I'm getting this error on a fresh install of
create-nuxt-app
with linting tools of eslint and prettier enabledThe
.eslintrc.js
is the default oneThe text was updated successfully, but these errors were encountered: