Comments (13)
I'm getting an error running:
meteor npm install apollo-server --save
... which fails trying to install [email protected] into an existing meteor app.
Error says:
Failed at the [email protected] postinstall script 'typings install && npm dedupe'.
Using @0.1.5 works.
from apollo-server.
I can confirm that this error doesn't happen in [email protected]
, and just in the new [email protected]
version.
How to reproduce in meteor-starter-kit:
meteor npm remove apollo-server meteor npm install [email protected] --save meteor run
from apollo-server.
You need to do npm install -g typing a I found.
On Fri 22 Jul 2016 at 21:43, tymoor [email protected] wrote:
I'm getting an error running:
npm install apollo-server --save
... which fails trying to install [email protected] into an
existing meteor app.Error says:
Failed at the [email protected] postinstall script 'typings
install && npm dedupe'.Using @0.1.5 works.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#54 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABKEIMjqtItKGM0LcDg8gW22fXh7Zp3sks5qYStigaJpZM4JS3rn
.
from apollo-server.
Thanks @davidsyoung, npm install -g typings
was indeed the way to solve this.
Looks like an error in the package.json. Depending on globally available modules is a bad thing.
from apollo-server.
This should be fixed now, I believe.
from apollo-server.
👍
from apollo-server.
Alternatively, for the workaround, if you npm install --save-dev typings
you don't have to install it globally.
from apollo-server.
I am using "apollo-server": "^0.2.1", and Meteor 1.4. And I still get this problem.
from apollo-server.
@helfer it seems that the issue still occurring using "0.2.3"
from apollo-server.
@do-n-khanh @hlandao What's the exact error you guys are getting?
from apollo-server.
@helfer : Thanks. I am getting the error #54 (SyntaxError: Use of const in strict mode. at ...)
/Users/davidyoung/Dev/gobeyond/.meteor/local/build/programs/server/packages/modules.js:41096 const graphql = require('graphql'); ^^^^^ SyntaxError: Use of const in strict mode. at /Users/davidyoung/Dev/gobeyond/.meteor/local/build/programs/server/boot.js:292:30 at Array.forEach (native) at Function..each..forEach (/Users/davidyoung/.meteor/packages/meteor-tool/.1.3.5_1.1fnktti++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11) at /Users/davidyoung/Dev/gobeyond/.meteor/local/build/programs/server/boot.js:133:5
from apollo-server.
@do-n-khanh This seems to be related to the meteor-integration package which I assume you're using, so it would be better to open an issue there, because you'll be more likely to get help that way.
from apollo-server.
Closing this since it's more pertinent to meteor-integration than apollo-server.
from apollo-server.
Related Issues (20)
- Apis that have their requests cached dont need to make unnecessary auth token fetches
- Document known mitigated security issue in `@koa/cors` for AS3 users HOT 1
- Update `@koa/cors` dependency for AS3 (or why we don't intend to) HOT 2
- Share and modify variables between Express and the GraphQL/Apollo server HOT 1
- Error: ApolloServer<BaseContext>' is not assignable to type 'ApolloServer<ExpressContext> HOT 3
- callback function for onSchemaLoadOrUpdate when upgrading from AS v3 to AS v4 HOT 3
- Allow plugins to throw meaningful GraphQL errors
- Getting started tutorial has typescript issues...
- Delay when subscription is closed on client side of the router when using callback
- Documentation and dynamic cache control feature of Apollo leverages incompatible GraphQl type interface. HOT 4
- Disabling introspection should also disable "Did you mean ...?" HOT 3
- Undefined 'code' TypeError within errorNormalize HOT 2
- Link broken for plugin
- The server crashes if a promise with deferred handling rejects while another promise is trying to resolve HOT 8
- Upgrade Express version to mitigate the Open Redirect Vulnerability in Express.js for malformed URLs, specifically targeting versions below 4.19.2. HOT 1
- Marking text works unreliable HOT 3
- CodeSandbox setup is failing HOT 1
- Passing context to datasource loses it's reference, meaning, we cannot mutate the context between the resolver and datasources. HOT 2
- Provide basic CSS formatting for markdown rendered in description fields for the sandbox
- Redirect in Context HOT 2
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-server.