Comments (7)
@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.
@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.
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.
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.
@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.
Fixed with #23
from apollo-link.
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)
- onError giving me terminating link and hence, `from` throws LinkError
- Type error after upgrading to graphql@15 HOT 7
- '__spreadArrays' was not found
- Axios instance as fetch implementation HOT 1
- How to use apollo-link-batch-http with Angular?
- Multiline package description on npm
- TypeScript error in Header authentication tutorial HOT 1
- apollo-link-ws loads backend modules when using it in the browser HOT 1
- Cannot override `useGETForQueries` to use POST on one specific query
- Request has invalid content type header when using XMLHttpRequest polyfill HOT 1
- How to use 2 terminating Links?
- OnError Apollo i will like to show/display the error HOT 3
- Client - Only absolute URLs are supported
- graphQLErrors returns an empty array for mutations onError
- Integrating websocket link results in constat logging in console HOT 2
- Apollo v3 Beta not working with RetryLink and onError HOT 2
- Pagination Apollo v3
- Update Dependencies (Renovate Bot)
- setContext in the errorLink is not updating the global header token
- operation context gets lost?
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 apollo-link.