Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Error: unsupported architecture, ia32 and x64 are the only valid options #71

Open
AlonMiz opened this issue Jul 20, 2022 · 1 comment
Open

Comments

@AlonMiz
Copy link

AlonMiz commented Jul 20, 2022

happened while using mock-mongoose.
failed on installing mongodb on Apple M1 is ARM-based chip

Error: unsupported architecture, ia32 and x64 are the only valid options
    at MongoDBPlatform.translateArch (node_modules/.pnpm/[email protected]/node_modules/mongodb-download/built/mongodb-download.js:626:19)
    at new MongoDBPlatform (/node_modules/.pnpm/[email protected]/node_modules/mongodb-download/built/mongodb-download.js:429:26)
    at new MongoDBDownload (/node_modules/.pnpm/[email protected]/node_modules/mongodb-download/built/mongodb-download.js:27:32)
    at new MongoDBPrebuilt (/node_modules/.pnpm/[email protected]/node_modules/mongodb-prebuilt/built/mongodb-prebuilt.js:17:36)
    at new MongoBins (/node_modules/.pnpm/[email protected]/node_modules/mongodb-prebuilt/built/mongo-bins.js:20:36)
    at new MongodHelper (/node_modules/.pnpm/[email protected]/node_modules/mongodb-prebuilt/built/mongod-helper.js:15:29)
    at new MockMongoose (/node_modules/.pnpm/[email protected]/node_modules/mock-mongoose/built/mock-mongoose.js:54:29)

seems like it was possible to overcome this typegoose/mongodb-memory-server#422

@AlonMiz
Copy link
Author

AlonMiz commented Jul 20, 2022

for anyone getting here
ended up using mongodb-memory-server

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant