-
Notifications
You must be signed in to change notification settings - Fork 189
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
Eslint v8.1 breaks docker deployment #2407
Comments
cc @BeAmazedVariable. Two thoughts. First, we should probably revert #2386 based on the upstream issue, which doesn't sound like support for 8.1 is coming soon. @BeAmazedVariable can you do the following in a new PR for me? git checkout master
git pull upstream master
git checkout -b issue-2407
git revert 3d7a3336d4bf89b6174b81c0999c29f411490ffc And then make a new PR and submit? Second, it looks to me like
I wonder if changing how we do the install to use |
@humphd I would love to jump on it ! |
when I install all the dependencies above I use |
@BeAmazedVariable you don't need to do that, just use the |
Yesterday I tried |
I haven't had time to dig into this fully yet, but I wonder if we're hitting an npm bug, maybe https://npm.community/t/npm-install-only-prod-verbose-please-do-not-pre-fetch-devdependencies/4732? I need to see if they ever fixed this. Sounds like maybe they didn't. |
Closed via #2408 |
After merging #2386, our
staging
server broke. The issue is that@typescript-eslint/eslint-plugin
and@typescript-eslint/parser
don't supporteslint v8.1
yet (here's the issue in their repo).Since we don't use
devDependencies
in production, this bug should never happen, BUT a closer look to whatnpm
does when installing dependencies in production reveals another issue.It seems
npm
does some sort of prefetching (includingdevDependencies
), and it's what's causing this bug.The 2 possible solutions are:
devDependencies
are installed.The text was updated successfully, but these errors were encountered: