-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Crash on start: MODULE_NOT_FOUND error with apollo-engine-reporting > uuid #6254
Comments
I tried updating to apollo-server-testing 2.14.1 but got the same error. It looks like uuid v8.1.0 is properly ready to support ES Modules, but maybe apollo-engine-reporting 2.0.0 is not. |
What node version are you using? |
I'm having this issue as well using |
I'm working on the reaction v3.8.0 release which runs node 12.14.1 |
I am running Node 13.2.0 and am getting the same problem. Just updated babel and did a fresh update and install of all modules and started getting this error. |
I can no longer reproduce this and I don't understand repeatable steps to reproduce at the moment. It's the kind of thing that I would think a |
I just hit this is well. Must be something to do with babel-node, and node when experimentalModules is on. |
Updating babel with |
I am seeing this as well using the current 3.8.0 version. Glad this issue was here to let me know it's somewhat Reaction-related |
I've tried all the workarounds mentioned here and still no luck. Interesting to note that I do not get this issue when building from the |
@zenweasel Did you manage to find a workaround that works? |
No. Just went back to my method of restarting the container. |
My Reaction Project only have a couple of plugins installed (for aws s3 storage and a custom IDP). What I did was clone the original project ( ps.: in my case, with |
I'm having the same issue only with the dev mode (override of compose file). Did Node version: 12.14.1 |
fwiw I have build a project with a minimal number of built-in plugins and was still running into this issue
Still had the same. However when I upgraded the build to Node 14.8 the problem went away |
- Hoping this will address #6254 Signed-off-by: Peter Lyons <[email protected]>
- Hoping this will address #6254 Signed-off-by: Peter Lyons <[email protected]>
- Hoping this will address #6254 Signed-off-by: Peter Lyons <[email protected]>
- Hoping this will address #6254 Signed-off-by: Peter Lyons <[email protected]>
- Hoping this will address #6254 Signed-off-by: Peter Lyons <[email protected]>
- Hoping this will address #6254 Signed-off-by: Peter Lyons <[email protected]>
OK my comment in that PR closed this, which is probably a fairly optimistic take. If anyone has time to pull down the latest trunk branch of reactioncommerce/reaction and test whether both dev and prod mode work without any npm errors, that would be valuable confirmation. |
Prerequisites
Issue Description
On startup (working on the v3.8.0 codebase prior to release), the node server is crashing with this error:
Researching online, I think this may be related to this recent update to the uuid npm package.
Our dependency graph to this looks like
We have at least 2 versions of uuid (probably many more), which look at a glance like they should be OK.
Steps to Reproduce
Note sure what else may be involved yet, still triaging.
Versions
3.8.0
The text was updated successfully, but these errors were encountered: