Use apollo stack with meteor -
i'm trying use apollp stack meteor project. used
meteor add apollo meteor npm install --save apollo-client apollo-server express
to install apollo stack when execute meteor run project gives errors
/home/xxxxxx/example/crud/.meteor/local/build/programs/server/packages/modules.js:97872 const graphql_1 = require('graphql'); ^^^^^ syntaxerror: use of const in strict mode. at/home/xxxxxx/example/crud/.meteor/local/build/programs/server/boot.js:292:30 @ array.foreach (native) @ function._.each._.foreach (/home/xxxxxxx/.meteor/packages/meteor-tool/.1.3.4_1.1wjluqr++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
any ideas happened here ??
i'm trying same thing. think can next step. add couple of things npm install:
meteor npm install --save apollo-client apollo-server@^0.1.1 express graphql
i've put in pr add graphql npm install in docs. also, apollo-server has updated 0.2, meteor-integration still working on it - @^0.1.1
not needed when resolved. i'm still having issues, may not way there, resolved error me.
Comments
Post a Comment