Code Monkey home page Code Monkey logo

Comments (7)

dead-horse avatar dead-horse commented on May 29, 2024

支持这种模式会导致所有从 git 安装都会很慢(因为要 clone 整个项目才能找到这个 commit),而且从 git 的一个 commit 安装也很不靠谱,所以 npminstall 暂时不会去对这个做支持

from npminstall.

livelazily avatar livelazily commented on May 29, 2024

可否使用 github 的 api 直接下载指定 commit 的 archive:
https://github.com/foo/bar/archive/commit-hash.zip

这样就不用下载整个 repo 了
因为使用这种依赖的大都不是自己直接使用, 而是依赖树上的某个包, 偶尔引用某个包时就会踩坑了

from npminstall.

dead-horse avatar dead-horse commented on May 29, 2024

你直接写 https://github.com/hegemonic/taffydb/tarball/7d100bcee0e997ee4977e273cdce60bd8933050e

不要写 git 协议

from npminstall.

dead-horse avatar dead-horse commented on May 29, 2024

#52

from npminstall.

livelazily avatar livelazily commented on May 29, 2024

问题主要是依赖定义不是自己写的, 而是某个依赖的依赖的依赖等等, 这个不好直接到上游去修改

from npminstall.

dead-horse avatar dead-horse commented on May 29, 2024

@ibigbug 会解决这个问题,合并到 #52

from npminstall.

ibigbug avatar ibigbug commented on May 29, 2024

嗯,在处理了。

from npminstall.

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.