-
-
Notifications
You must be signed in to change notification settings - Fork 184
Error: spawn /home/app/node_modules/.cache/mongodb-memory-server/mongodb-binaries/4.0.3/mongod ENOENT #171
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
Comments
I was able to reproduce this locally by building the docker image, and I can see that the
|
I have the same issue with Gitlab runners using Called MongoInstance._launchKiller(parent: 117, child: undefined):
Mongo[46071]: MongodbInstance: is failed: Error: spawn /builds/lab/apostrophe-modules/project-templates/module/node_modules/.cache/mongodb-memory-server/mongodb-binaries/4.0.3/mongod ENOENT
... No such file or directory error while Mongodb binaries are well downloaded and saved at this exact path during |
@Seao in my case was the fact that we were using alpine, which the What I did in my case, was to download and install mongodb in my docker image and set the
Hope it helps! If it is for me, we can close this issue 👍 |
@machadogj Thanks for the advice, indeed it was related to alpine:3.8 I was using. The thing is, it was implicitly inherited but not relevant at all, so I simply switched to a node:8 image, that is working like a charm 👍 |
Thanks @machadogj ! You saved my day :) |
what is the best package to enable cache on circleci? what is the best strategy to cache this? |
@sibelius better to use |
it would be helpful to have a section in docs like this one https://docusaurus.io/docs/en/publishing#automating-deployments-using-continuous-integration where you provide a sample setup for circleci, travis and so on |
in ~6.1 changed GETOS to an internal re-write, which needs either i will close this because (thanks to the getos re-write) it should now detect the right system, but because mongodb dosnt provide a binary for alpine it is still recommended to use a |
I had this issue at Gitlab, was fixed without other configuration changes simply by just changing the image to the non-alpine one. From:
To:
|
Thank you! |
Hello, I have the following code in a mocha test setup file:
Works well locally, but in circleCI it fails with:
I looked the code at that line and it's the following:
Any ideas? Thanks!
The text was updated successfully, but these errors were encountered: