Giter Club home page Giter Club logo

Comments (12)

arfeo avatar arfeo commented on June 19, 2024

Hi,

Tried just now:
image

Need more info to make any decision.

Thanks.

from npm-add-dependencies.

francoisph avatar francoisph commented on June 19, 2024

Thanks for the fast response!
This is what I've got when trying the example in the README :
Capture d’écran, le 2019-11-19 à 11 43 45

from npm-add-dependencies.

arfeo avatar arfeo commented on June 19, 2024

Any additional info for me to deal with? Have fetched packages been written to the package.json successfully, e.g.? ANY info, pls. So, I could reproduce the error. Thanks.

from npm-add-dependencies.

arfeo avatar arfeo commented on June 19, 2024

What is this command's output:

npm show git+https://github.com/arfeo/npm-add-dependencies.git#master versions

?

from npm-add-dependencies.

francoisph avatar francoisph commented on June 19, 2024

When I'm cloning your git and run the command inside your project everything works.

When I run npm show git+https://github.com/arfeo/npm-add-dependencies.git#master versions in my project I have this :

Capture d’écran, le 2019-11-19 à 11 57 20

And the log :

Capture d’écran, le 2019-11-19 à 11 55 11

from npm-add-dependencies.

arfeo avatar arfeo commented on June 19, 2024

Have fetched packages been written to the package.json successfully? Looks like the error with the package.json in your project's directory. Looks like there's no one. Strange enough, because in this case the script should output this: "Could not parse package.json. Stop." and stop.

from npm-add-dependencies.

francoisph avatar francoisph commented on June 19, 2024

Yes I can fetch all the packages in the package.json.
When I run in my project :
npm install git+https://github.com/arfeo/npm-add-dependencies.git#master --save

My package is correctly updated :
"npm-add-dependencies": "git+https://github.com/arfeo/npm-add-dependencies.git#master",

from npm-add-dependencies.

arfeo avatar arfeo commented on June 19, 2024

No, I meant, have fetched packages been written to the package.json successfully after this:

image
?

from npm-add-dependencies.

arfeo avatar arfeo commented on June 19, 2024

I think there's no way at the moment to fetch the info of a package with "git+https". I removed this from readme, and I'll think it over some time later. Thanks for this.

from npm-add-dependencies.

arfeo avatar arfeo commented on June 19, 2024

NB: We can not use npm show git+https://github.com/author/repo#branch versions to fetch repo's versions.

from npm-add-dependencies.

francoisph avatar francoisph commented on June 19, 2024

Okay thanks for the information!

from npm-add-dependencies.

arfeo avatar arfeo commented on June 19, 2024

Closing the issue, since it most probably wouldn't be fixed.

from npm-add-dependencies.

Related Issues (15)

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.