-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Production servers do not respect package-lock #1988
Comments
Aha, according to Sentry, the copy of I'm a bit flummoxed that the server isn't using package-lock. It makes the careful dependency reviewing we're doing a bit pointless… or at least not as useful as it might be! It looks like it's running I guess the short-term fix is to specify a specific joi version in package.json. The long term fix would be to honor the lockfile, though I think @espadrine is the only person who has access to make the necessary changes. |
Support for |
Good though on checking Sentry, which says we are on Node v9.4.0. I thought we were on Node 8, though I seem to be mis-remembering. According to this reference Node v9.4.0 ships with npm 5.6.0, although it's possible that there are more than one copy of Node installed, and the post-receive hook is running a different one. npm isn't part of the environment where Sentry so unfortunately I don't see any way of telling the npm version. Note that we're also installing the dev dependencies, which is not required, and unnecessarily slows down the deploy process. By the way, #1989 has fixed the crasher; I've got one server online running 16d4157. |
This is resolved via #4929. 😌 |
https://sentry.io/shields/shields/issues/664377681/
It crashed the server repeatedly on startup, which caused a couple minutes of downtime on s0.
This isn't manifesting in any of the other environments. The server might be running a different version of joi. According to Sentry, the server is running joi 13.3.0, not 13.6.0 as the lockfile declares. I don't know how the server installs its dependencies and am not sure how to verify exactly what is being installed. I've no reason to believe that API has changed, though.
The text was updated successfully, but these errors were encountered: