Created
September 3, 2017 01:59
-
-
Save patrickheeney/33f1d6f9f89a102b3be0a23dfbd10bbb to your computer and use it in GitHub Desktop.
Rollup error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error: 'graphql' is not exported by ../../node_modules/graphql/index.js | |
at error (node_modules/rollup/dist/rollup.js:185:14) | |
at Module.error (node_modules/rollup/dist/rollup.js:8171:3) | |
at Module.trace (node_modules/rollup/dist/rollup.js:8264:10) | |
at ModuleScope.findDeclaration (node_modules/rollup/dist/rollup.js:7872:22) | |
at Scope.findDeclaration (node_modules/rollup/dist/rollup.js:5905:33) | |
at CallExpression.bind (node_modules/rollup/dist/rollup.js:6323:35) | |
at eachChild.child (node_modules/rollup/dist/rollup.js:5674:34) | |
at keys.forEach.key (node_modules/rollup/dist/rollup.js:5685:5) | |
at Array.forEach (native) | |
at ReturnStatement.eachChild (node_modules/rollup/dist/rollup.js:5678:13) | |
at ReturnStatement.bind (node_modules/rollup/dist/rollup.js:5674:8) | |
at body.forEach.node (node_modules/rollup/dist/rollup.js:6061:35) | |
at Array.forEach (native) | |
at BlockStatement.bind (node_modules/rollup/dist/rollup.js:6061:13) | |
at ArrowFunctionExpression.bind (node_modules/rollup/dist/rollup.js:5917:13) | |
at ExportDefaultDeclaration.bind (node_modules/rollup/dist/rollup.js:6548:20) | |
at Module.bindReferences (node_modules/rollup/dist/rollup.js:8148:9) | |
at modules.forEach.module (node_modules/rollup/dist/rollup.js:9570:44) | |
at Array.forEach (native) | |
at resolveId.then.then.entryModule (node_modules/rollup/dist/rollup.js:9570:18) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// original/graphql/index.js | |
export { | |
graphql | |
} from './graphql'; | |
export { | |
GraphQLSchema, | |
// Definitions | |
GraphQLScalarType, | |
GraphQLObjectType, | |
GraphQLInterfaceType, | |
GraphQLUnionType, | |
GraphQLEnumType, | |
GraphQLInputObjectType, | |
GraphQLList, | |
GraphQLNonNull, | |
GraphQLDirective, | |
} from './type'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// compiled/graphql/index.js | |
Object.defineProperty(exports, "__esModule", { | |
value: true | |
}); | |
var _graphql = require('./graphql'); | |
Object.defineProperty(exports, 'graphql', { | |
enumerable: true, | |
get: function get() { | |
return _graphql.graphql; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment