Giter Site home page Giter Site logo

Comments (7)

jbaxleyiii avatar jbaxleyiii commented on July 23, 2024

@evanshauser what changes did you make to zen that required using your fork? I agree that we should try and use npm if possible

from apollo-link.

evans avatar evans commented on July 23, 2024

@SharpEdgeMarshall thank you for pointing the issue out!

@jbaxleyiii I changed how the modules were exported: zenparsing/zen-observable#31. Thoughts on better ways to get around the issue?

from apollo-link.

Frizi avatar Frizi commented on July 23, 2024

Having the same issue. As a workaround, I'm temporarily changing that manually in my yarn.lock to point to npm version and it appears to work in my project.

apollo-link@^0.0.3:
  version "0.0.3"
  resolved "https://registry.yarnpkg.com/apollo-link/-/apollo-link-0.0.3.tgz#9b02db8def792688e14f8be8b30f716f7789acb9"
  dependencies:
    apollo-fetch "^0.3.0"
    graphql "^0.10.3"
    graphql-tag "^2.4.2"
    zen-observable "^0.5.2"
  optionalDependencies:
    "@types/graphql" "^0.9.4"
    "@types/zen-observable" "^0.5.1"

zen-observable@^0.5.2:
  version "0.5.2"
  resolved "https://registry.yarnpkg.com/zen-observable/-/zen-observable-0.5.2.tgz#845a1cfda804a13419ec8ec12343e1f4c45cd07a"

from apollo-link.

katopz avatar katopz commented on July 23, 2024

Aw! I'm lost 2 hours just because of this, I'll paste log here for google crawling.

npm http request GET https://registry.npmjs.org/apollo-fetch
npm info attempt registry request try #1 at 09:11:36
npm http request GET https://registry.npmjs.org/@types%2fzen-observable
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/evanshauser/zen-observable.git /root/.npm/_git-remotes/git-https-github-com-evanshauser-zen-observable-git-5d016840: undefined
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/evanshauser/zen-observable.git /root/.npm/_git-remotes/git-https-github-com-evanshauser-zen-observable-git-5d016840: undefined
npm http 200 https://registry.npmjs.org/apollo-fetch
npm info retry fetch attempt 1 at 09:11:37
npm info attempt registry request try #1 at 09:11:37
npm http fetch GET https://registry.npmjs.org/apollo-fetch/-/apollo-fetch-0.3.0.tgz
npm http fetch 200 https://registry.npmjs.org/apollo-fetch/-/apollo-fetch-0.3.0.tgz
npm http 200 https://registry.npmjs.org/@types%2fzen-observable
npm info addNameTag [ '@types/zen-observable', 'latest' ]
npm info retry fetch attempt 1 at 09:11:38
npm info attempt registry request try #1 at 09:11:38
npm http fetch GET https://registry.npmjs.org/@types/zen-observable/-/zen-observable-0.5.2.tgz
npm http fetch 200 https://registry.npmjs.org/@types/zen-observable/-/zen-observable-0.5.2.tgz
npm ERR! code ENOGIT
npm ERR! not found: git

Pretty please fix this, I just don't want to add workaround.

Thanks

from apollo-link.

evans avatar evans commented on July 23, 2024

@SharpEdgeMarshall @Frizi @katopz I exported a new module for zen-observable that should mean the installation won't need git. Please see this commit. Thank you for sharing your issues. Let me know if you continue facing problems

Using zen-observable-exported is a temporary solution, pending resolution on:

from apollo-link.

evans avatar evans commented on July 23, 2024

Fixed with #23

from apollo-link.

evans avatar evans commented on July 23, 2024

Please open another issue if something like this crops up again. Thank you @SharpEdgeMarshall @Frizi @katopz for bringing it to my attention

from apollo-link.

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.