Git Product home page Git Product logo

Comments (14)

harryqt avatar harryqt commented on September 24, 2024 2

Use this as replacement, works fine. https://github.com/coderello/js-query-builder

from cogent-js.

joelwmale avatar joelwmale commented on September 24, 2024 1

I'll take a look at this today sorry guys. Will investigate and see what is going on.

from cogent-js.

jimtaylor123 avatar jimtaylor123 commented on September 24, 2024 1

This appears to be because when the command 'babel src -d build' is run when installing the package, it fails to copy over Query.js and Parser.js into the build folder. I don't know enough about why this is happening to submit a PR.

from cogent-js.

Armalon avatar Armalon commented on September 24, 2024

Thank you for this fix though: "Update fields filter to include model"!

from cogent-js.

Armalon avatar Armalon commented on September 24, 2024

The error above can be seen when this module is used as a part or the React app. If you run it separately like in the README.md file then you can see the following:

internal/modules/cjs/loader.js:968
throw err;
^

Error: Cannot find module '@babel/runtime/helpers/interopRequireDefault'
Require stack:

  • /home/armalon/projects/innoscripta/test/node_modules/cogent-js/build/index.js
  • /home/armalon/projects/innoscripta/test/index.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
    at Function.Module._load (internal/modules/cjs/loader.js:841:27)
    at Module.require (internal/modules/cjs/loader.js:1025:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object. (/home/armalon/projects/innoscripta/test/node_modules/cogent-js/build/index.js:3:30)
    at Module._compile (internal/modules/cjs/loader.js:1137:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
    at Module.load (internal/modules/cjs/loader.js:985:32)
    at Function.Module._load (internal/modules/cjs/loader.js:878:14)
    at Module.require (internal/modules/cjs/loader.js:1025:19) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/home/armalon/projects/innoscripta/test/node_modules/cogent-js/build/index.js',
    '/home/armalon/projects/innoscripta/test/index.js'
    ]
    }

from cogent-js.

brentjett avatar brentjett commented on September 24, 2024

Same issue. Any movement on this?

from cogent-js.

tommy70404 avatar tommy70404 commented on September 24, 2024

Same problem here, any update?

from cogent-js.

acabreragnz avatar acabreragnz commented on September 24, 2024

Same problem here, by the meantime I copied your files directly in my project.

from cogent-js.

boxxroom avatar boxxroom commented on September 24, 2024

Thanks for the great package @joelwmale. I also appear to be having the same issue with an unresolvable './Query'

ERROR in ./node_modules/cogent-js/build/index.js 15:36-54

from cogent-js.

joelwmale avatar joelwmale commented on September 24, 2024

Can anyone create a PR to fix this issue?

from cogent-js.

steveerg avatar steveerg commented on September 24, 2024

Same issue, any update?

from cogent-js.

teetlaja avatar teetlaja commented on September 24, 2024

Are there any updates with this?

from cogent-js.

ankur99 avatar ankur99 commented on September 24, 2024

yo any updates?

from cogent-js.

joelwmale avatar joelwmale commented on September 24, 2024

Thanks @Dibbyo456. Sorry guys, I just don't have time to maintain this anymore.

from cogent-js.

Related Issues (2)

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.