Giter Site home page Giter Site logo

Comments (9)

kspearrin avatar kspearrin commented on May 21, 2024

I guess we need to polyfill with something like https://www.npmjs.com/package/xmldom

from cli.

kspearrin avatar kspearrin commented on May 21, 2024

Can you build and try master now to see if that resolves the issue? I added the xmldom polyfill.

from cli.

edmellum avatar edmellum commented on May 21, 2024

Awesome! That gets me past the previous error! 😄 Now I'm getting doc.querySelector is not a function. Maybe try adding a unit test that tries to import a basic KeePass 2 XML file?

from cli.

kspearrin avatar kspearrin commented on May 21, 2024

Looks like xmldom doesnt support querySelector(). Need to figure out a way to support that in Node I guess.

from cli.

kspearrin avatar kspearrin commented on May 21, 2024

Seems to work with jsdom lib. Test here: bitwarden/jslib@93244b5

Try pulling, installing, and building master again and let me know.

from cli.

kspearrin avatar kspearrin commented on May 21, 2024

Nevermind, looks like something broke the build with jsdom. Will have to investigate more.

from cli.

kspearrin avatar kspearrin commented on May 21, 2024

@edmellum Can you give it a try now? Had some issues with webpack and jsdom that should be resolved now. Could you also test it with the packaged binary as well? https://ci.appveyor.com/project/bitwarden/cli/build/artifacts

from cli.

edmellum avatar edmellum commented on May 21, 2024

The packaged binary works! :D Cloning the repo gives me this error though. "originalMethod.apply(...).finally is not a function"

from cli.

kspearrin avatar kspearrin commented on May 21, 2024

Great. Did you run npm i after pulling?

from cli.

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.