Comments (12)
Hi,
Need more info to make any decision.
Thanks.
from npm-add-dependencies.
Thanks for the fast response!
This is what I've got when trying the example in the README :
from npm-add-dependencies.
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.
What is this command's output:
npm show git+https://github.com/arfeo/npm-add-dependencies.git#master versions
?
from npm-add-dependencies.
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 :
And the log :
from npm-add-dependencies.
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.
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.
No, I meant, have fetched packages been written to the package.json successfully after this:
from npm-add-dependencies.
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.
NB: We can not use npm show git+https://github.com/author/repo#branch versions
to fetch repo's versions.
from npm-add-dependencies.
Okay thanks for the information!
from npm-add-dependencies.
Closing the issue, since it most probably wouldn't be fixed.
from npm-add-dependencies.
Related Issues (15)
- dependencies are not added but replaced
- feat: rename/alias to add-dep HOT 3
- feat: support --save-exact HOT 3
- fix: bundledDependencies should be array HOT 2
- refactor: use 3rd party args parser HOT 2
- feat: Support integration with other Node application HOT 4
- Feat: Tests
- Removes trailing newline from package.json
- [Feature Request] Add -i --install option
- package@latest not accepted HOT 1
- Wrong result when specify version
- Cannot add dependencies starting with @ any more HOT 3
- Could not fetch version info for: git+https://git. Skip. HOT 2
- feat: add alias -D for --dev
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from npm-add-dependencies.