Coder Social home page Coder Social logo

Universal slashes about cordova-import-npm HOT 7 CLOSED

jfoclpf avatar jfoclpf commented on September 26, 2024
Universal slashes

from cordova-import-npm.

Comments (7)

jfoclpf avatar jfoclpf commented on September 26, 2024 1

Ah, now I understand what you mean :)

from cordova-import-npm.

jfoclpf avatar jfoclpf commented on September 26, 2024

Thanks, I use always Ubuntu, but thanks for the pointing that out

Did you run also the config?

npx setup-cordova-import-npm

you need to install the package and after run the config to install the hook on config.xml

That path is formed here, with this line

const importNpmPackagesFilePath = path.join('node_modules', 'cordova-import-npm', 'scripts', 'importNpmPackages.js')

The result is a string: "node_modules/cordova-import-npm/scripts/importNpmPackages.js"

from cordova-import-npm.

Polm90 avatar Polm90 commented on September 26, 2024

@jfoclpf this is one of those rare cases in which you should not use path.join, but directly the "/" string :D

Yes, I've used the npx command, so I've found the issue ;)

from cordova-import-npm.

jfoclpf avatar jfoclpf commented on September 26, 2024

Thanks @Polm90
I already amended it

I will publish to npm ASAP

from cordova-import-npm.

jfoclpf avatar jfoclpf commented on September 26, 2024

@Polm90 it's already published into npm

can you kindly test it in Windows now?
Thanks

from cordova-import-npm.

Polm90 avatar Polm90 commented on September 26, 2024

@jfoclpf I confirm it works now!

Thank you!

from cordova-import-npm.

jfoclpf avatar jfoclpf commented on September 26, 2024

Thanks for the feedback @Polm90
have a great day

from cordova-import-npm.

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.