Azure / cosmos-explorer

UI for Azure Cosmos DB. Powers the Azure Portal, https://cosmos.azure.com/, and the Cosmos DB Emulator
https://cosmos.azure.com
MIT License
106 stars 49 forks source link

Is Canvas still needed? #414

Open diberry opened 3 years ago

diberry commented 3 years ago

When running 'npm install', I get a sym link error for canvas. What installation instructions do you have for resolving this?

southpolesteve commented 3 years ago

@diberry On Windows or Mac?

We don't use Canvas, but there is an unfortunate bug in an upstream version of nteract that requires we take a dependency on it. We mock it out to prevent having to actually install the canvas package, but its possible we did something in a non-cross platform way. https://github.com/Azure/cosmos-explorer/blob/master/canvas/README.md

diberry commented 3 years ago

It was Windows 10 corpnet version. I don't have very much globally installed in npm. What OS do you use?

southpolesteve commented 3 years ago

I'm on mac, but I have a windows machine too. Let me test it there and see if I can reproduce the issue

diberry commented 3 years ago

Is there a dockerfile that this repo runs in? Maybe that would be my quick fix.

southpolesteve commented 3 years ago

There is not. I have set it up once before in GitHub Codespaces if you want to try that.

On Tue, Feb 2, 2021 at 10:46 AM Dina Berry notifications@github.com wrote:

Is there a dockerfile that this repo runs in? Maybe that would be my quick fix.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Azure/cosmos-explorer/issues/414#issuecomment-771777461, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADTC2B2UFR7J3DALEV5FULS5AT6XANCNFSM4W5XF7FQ .

diberry commented 3 years ago

Works on my mac - lots of fun warnings and compilation errors - but it works. :)

diberry commented 3 years ago

How do I connect this local to my mongoDB via connection string?

southpolesteve commented 3 years ago

I don't think that will work. Mongo has to go through our portal proxy (since mongo doesn't support HTTP) which only works with production databases.