Coder Social home page Coder Social logo

Comments (10)

loicsaintroch avatar loicsaintroch commented on May 1, 2024

If I understand correctly, the sails-mongo fails to install, right? I like your second suggestion though. We'll think about it. Thanks!

About the adapters installation, it was on our roadmap, I will work on it tomorrow.

from strapi.

ogrotten avatar ogrotten commented on May 1, 2024

Yes it appeared that sails-mongo could not be installed 2nd hand by strapi.

IIRC, when I was originally experiementing with sails/sails-mongo, I had a stop at kerberos during compile.

from strapi.

loicsaintroch avatar loicsaintroch commented on May 1, 2024

We just made the auto install for adapters today. It will be published tomorrow for the v1.1.0.

But it's strange you have an issue during the installation of sails-mongo. It looks like its because of node-gyp. Did you try with Node.js v0.12.7 or Node.js v4.1.2?

from strapi.

ogrotten avatar ogrotten commented on May 1, 2024

i'm using 12.5

(side note: node-gyp is the bane of my existance because it's consistently in the way during installations. It's the main thing that keeps me from setting up on windows as it wants to compile on install, and there's no such thing as a windows 'build-essential')

from strapi.

loicsaintroch avatar loicsaintroch commented on May 1, 2024

This is a common issue due to node-gyp and bson compatibilities for almost two years now.

As far as I can tell, this is not a Strapi issue...

from strapi.

ogrotten avatar ogrotten commented on May 1, 2024

The node-gyp issue is not. However, the ticket is about strapi automated install of a db adapter that fails. In other words, when trying to use a feature of the app (set up mongodb), the feature is unusable.

I'm not suggesting that you fix the node-gyp problem. I'm suggesting that there may be some solution to get the adapter to install appropriately for strapi's purposes.

from strapi.

loicsaintroch avatar loicsaintroch commented on May 1, 2024

I'm not sure to understand what you want. There is no way for us to override the npm installation if that's what you mean.

from strapi.

ogrotten avatar ogrotten commented on May 1, 2024

Not necessarily override, but i'm suggesting that perhaps there's another solution... something like load your own working install of the failing lib, or install a precompiled binary, or use even an altogether different solution for the same function.

I obviously am just a guy using your app so am not privvy to the details, but what I'm suggesting is that there may a way to make strapi work past this particular problem in a way that isn't immediatly obvious. Because, whatever the reason and unless I missed something, strapi currently isn't useful with mongodb.

from strapi.

loicsaintroch avatar loicsaintroch commented on May 1, 2024

I honestly don't know what to answer to this issue except that this is not an issue on our side but from the sails-mongo adapter. I know @tjwebb is working hard on Waterline and the migration of adapters from Sails to Waterline so he might have a solution about this.

On our side, I can't think of a magical solution...

from strapi.

loicsaintroch avatar loicsaintroch commented on May 1, 2024

Hi @perminder-klair. Unfortunately, this is not an issue on our side but an issue with the sails-mongo node module. There is nothing we can do here... Sorry.

from strapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.