RisingStack / graphql-server

Example GraphQL server with Mongoose (MongoDB) and Node.js
MIT License
846 stars 102 forks source link

babel error #3

Closed agdolla closed 9 years ago

agdolla commented 9 years ago

[agdolla@t430 graphql-server]$ node -v v2.3.3 [agdolla@t430 graphql-server]$ npm test

graphql-server@1.0.0 test /home/agdolla/Work/open/graphql-server NODE_ENV=test mocha --compilers js:babel/register --require co-mocha $(find src -name "*.spec.js")

/home/agdolla/Work/open/graphql-server/node_modules/babel-core/lib/babel/transformation/file/index.js:634 throw err; ^ TypeError: /home/agdolla/Work/open/graphql-server/src/server/schema.js: Cannot read property 'declareTemporary' of null at getOuterFnExpr (/home/agdolla/Work/open/graphql-server/node_modules/babel-core/node_modules/regenerator/lib/visit.js:287:35)

any idea ?

agdolla commented 9 years ago

https://github.com/babel/babel/issues/1958