typegoose / typegoose/mongodb-memory-server

[Alpine] Distribution Support

Open
#347 23 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Distribution support
Dominant language
TypeScript
Stars
2.8k
Forks
191
Avg merge
4h 25m
Merged PRs (30d)
10

Description

  • NodeJS: 14.6.0
  • mongodb-memory-server-*: 6.6.6
  • mongodb: 0.0.0
  • mongoose: 5.9.28
  • system: docker:alpine (host: Windows 10)

package: mongo-memory-server

What is the Problem?

So when ever i try to install mongodb-memory-server on my Windows 10 machine i get this error:

mongodb-memory-server: checking MongoDB binaries cache...
failed to download/install MongoDB binaries. The error: Error: Status Code is 403 (MongoDB's 404)
This means that the requested version-platform combination doesn't exist

The mongo instance is dockerized(using node:alpine) but even just a simple install doesnt work.
the project is a microservice site and another service is already working just fine with mongodb-memory-server in version 6.6.4
so i tried to install 6.6.4 thinking the cause is probably a bad version but even 6.6.4 which works perfectly good for the other service doesnt work on this service for some reason and still gives the same error on npm install.

Code Example

Do you know why it happenes?

have no idea since the other service works just fine with 6.6.4 version.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing installation of the mongo-memory-server package in the node:alpine environment, comparing versions 6.6.4 and 6.6.6 and the reported MongoDB binary download request. Done means identifying why the requested version-platform combination returns 403 and documenting or correcting the Alpine distribution support.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, mongodb, node.js
Domain
devops, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.