Comments (20)
Just a heads up - we've got a ticket in our jira to track/triage this - https://jira.mongodb.org/browse/COMPASS-5574 - hopefully we can get it to y'all soon! We'll post back here as well when there's an update. Thanks for opening the issue
from compass.
arm64 build for macOS is now available in the download center for the latest beta (1.33.0-beta.2) and will be available in the next stable release so I'm closing the issue. If something in the beta doesn't work for you, please feel free to open a new issue with a specific issue details
from compass.
I'm still waiting for m1 version :(
from compass.
I've taken the current master branch (as of this reply) and compiled it on an Apple Silicon machine.
Everything seems perfectly functional, and Activity Manager now shows "Kind: Apple" for all the MongoDB Compass processes 🙂
You can get the dmg file I generated on this link and try it for yourself while you wait for an official release: https://drive.google.com/file/d/1Gzx1YXxv2ZimEZ6wFUEx94h4HGYNJkaw/view?usp=sharing
After dragging the app to the Applications folder you'll need to run this:
xattr -d com.apple.quarantine /Applications/MongoDB\ Compass\ Dev.app
Because Apple places App files downloaded from the internet (from unknown developers/sources) in quarantine and reports them as "damaged" to the user.
from compass.
Electron is currently fixed at version 6.1.7
, we need to get to at least 11.0.0
for arm64 support.
Line 387 in 2deb992
Trying to upgrade it I ran into issues with it being stuck at 6.x in hadron-build: mongodb-js/hadron-build#430
from compass.
Yep, it seems there's only darwin-x64
packages attached to the release.
the application uses rosetta 2 translation layer on M1 macs.
from compass.
I've taken the current master branch (as of this reply) and compiled it on an Apple Silicon machine.
Everything seems perfectly functional, and Activity Manager now shows "Kind: Apple" for all the MongoDB Compass processes 🙂
The performance boost is incredible. Can't wait for the official version.
from compass.
@RodrigoRosmaninho
Things are getting serious: #3269
from compass.
@Anemy I believe that this issue is asking for native M1 support, it seems like darwin-x64
packages attached to the linked release?
If you're on a recent version of Electron, it should be easy to do that as well. I'm not familiar with the Hadron build tools, but in e.g. electron-packages and Electron Forge you can pass in --arch=arm64
when you build.
from compass.
@RodrigoRosmaninho Thank you very much! Which steps did you do to compile it?
@neumann-nico here are the steps I went through:
- Clone the repo
- Bump node version to one that supports Apple Silicon in package.json, package-lock.json and packages/compass/package.json (I used 16.16.0)
- Bump electron-packager to version 15.5.1 in packages/hadron-build/package.json
- Find and replace all instances of
darwin-x64
todarwin-arm64
in packages/hadron-build/lib/target.js and packages/hadron-build/commands/release.js - Run
npm install
in the packages/compass directory to download all dependencies - Run
npm install -g typescript
- Run
tsc
inside the configs/webpack-config-compass directory (If the typescript isn't compiled, compass won't be able to import this module) - Run
npm start
in the packages/compass directory to confirm that MongoDB Compass builds and starts successfully - Run
npm run package-compass
in the packages/compass directory to create the .App file. In my case this command threw an error at the end, but the .App file had already been successfully created in packages/compass/dist.
from compass.
@RodrigoRosmaninho Thank you very much! Which steps did you do to compile it?
@neumann-nico here are the steps I went through:
1. Clone the repo 2. Bump node version to one that supports Apple Silicon in package.json, package-lock.json and packages/compass/package.json (I used 16.16.0) 3. Bump electron-packager to version 15.5.1 in packages/hadron-build/package.json 4. Find and replace all instances of `darwin-x64` to `darwin-arm64` in packages/hadron-build/lib/target.js and packages/hadron-build/commands/release.js 5. Run `npm install` in the packages/compass directory to download all dependencies 6. Run `npm install -g typescript` 7. Run `tsc` inside the configs/webpack-config-compass directory (If the typescript isn't compiled, compass won't be able to import this module) 8. Run `npm start` in the packages/compass directory to confirm that MongoDB Compass builds and starts successfully 9. Run `npm run package-compass` in the packages/compass directory to create the .App file. In my case this command threw an error at the end, but the .App file had already been successfully created in packages/compass/dist.
Thanks it worked! You should create a pull request :)
Even though there is an error at the end, I think not a lot is missing to be fully working.
Edit: I could get rid of the error: Error: Command failed: bless --folder /Volumes/MongoDB Compass Dev --openfolder /Volumes/MongoDB Compass Dev bless: The 'openfolder' is not supported on Apple Silicon devices
Updating appdmg from 0.6.0 to 0.6.4 helped. Now it also generated the .dmg file :)
from compass.
Was just looking into the current electron version, seems they are v12.0.5. Any chance that you could try again @LinusU?
from compass.
@ngohungphuc @jgoldverg Can you confirm if the newest beta (1.31.0-beta.11 at the time of writing): https://github.com/mongodb-js/compass/releases fixes this issue? We've upgraded electron versions which should address the issue. We're in the process of further upgrading the version as well.
from compass.
2 months later, and with the jira ticket still unassigned, I'd like to ask if "soon" is really going to happen any soon :-)
from compass.
2 years
from compass.
as far as i know compass is already on electron v13 theres no way they cant support apple silicon
from compass.
@Anemy Is there any news for the native m1 version?
Looking forward to the update and thanks to the team for taking the time :)
from compass.
@RodrigoRosmaninho Thank you very much! Which steps did you do to compile it?
from compass.
I've taken the current master branch (as of this reply) and compiled it on an Apple Silicon machine. Everything seems perfectly functional, and Activity Manager now shows "Kind: Apple" for all the MongoDB Compass processes 🙂
You can get the dmg file I generated on this link and try it for yourself while you wait for an official release: https://drive.google.com/file/d/1Gzx1YXxv2ZimEZ6wFUEx94h4HGYNJkaw/view?usp=sharing
After dragging the app to the Applications folder you'll need to run this:
xattr -d com.apple.quarantine /Applications/MongoDB\ Compass\ Dev.app
Because Apple places App files downloaded from the internet (from unknown developers/sources) in quarantine and reports them as "damaged" to the user.
You are my hero :D
from compass.
Thanks for the update 👍
from compass.
Related Issues (20)
- Fields missing when exporting collection HOT 8
- Please implement multiselection HOT 1
- Feature Request HOT 1
- Bug Report: document/index count not updated when clicking on collection tab HOT 8
- Compass does not save favorites on WSL HOT 3
- Increase "import document" editor focus size
- Feature Request: Allow custom id generators to be used on duplication of documents HOT 1
- Feature Request: Add simplified parallel insertion command syntax HOT 2
- Bug Report | cannot query using big int HOT 2
- A full stop at the ending of the line HOT 1
- How to run Compass under native Wayland? HOT 6
- Bug Report: Loading connections not working properly HOT 5
- Feature Request: Color Picker on Favorite save HOT 3
- Fatal bug: The brain of your teams hot-key designer HOT 1
- Bug Report - In filter, not possible to get cursor between 2 spaces with arrow keys (on osx)?? HOT 2
- Bug Report - MacOS newest versions are broken HOT 10
- Bug Report - The latest version of Macos and Windows is stuck when importing large CSV files, and the program interface is white. HOT 6
- Rant : Using _id ObjectID as direct filter instead of {_id: ObjectID} HOT 1
- Bug Report Can't delete collection with specific name HOT 4
- "ssh2" module in ssh-tunnel package is obsolete, please consider upgrade HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compass.