世界上最伟大的投资就是投资自己的教育
zhuofan
id 7059
7 hours 22 minutes 32 seconds 执事 研究生
-
/Users/zhuofanw/Desktop/GraphQL/server/node_modules/graphql/type/definition.js:563 this.name = config.name; ^ TypeError: Cannot set property 'name' of undefined at GraphQLObjectType (/Users/zhuofanw/Desktop/GraphQL/server/node_modules/graphql/type/definition.js:563:15) at Object.<anonymous> (/Users/zhuofanw/Desktop/GraphQL/server/schema/schema.js:14:18) at Module._compile (internal/modules/cjs/loader.js:701:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) at Module.load (internal/modules/cjs/loader.js:600:32) at tryModuleLoad (internal/modules/cjs/loader.js:539:12) at Function.Module._load (internal/modules/cjs/loader.js:531:3) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Object.<anonymous> (/Users/zhuofanw/Desktop/GraphQL/server/app.js:3:16) [nodemon] app crashed - waiting for file changes before starting...
我也纳闷 但确实是报了这个错 代码也没问题
-
为什么会提示
this.name = config.name;
^TypeError: Cannot set property 'name' of undefined
[nodemon] app crashed - waiting for file changes before starting...
© 汕尾市求知科技有限公司 | Rails365 Gitlab | Qiuzhi99 Gitlab | 知乎 | b 站 | 搜索
粤公网安备 44152102000088号 | 粤ICP备19038915号
Top