timqian / gql-generator

Generate queries from graphql schema, used for writing api test.
MIT License
374 stars 93 forks source link

show error like this: 'fs.readfileSync is not a function' #29

Open qingtiantongxie opened 4 years ago

qingtiantongxie commented 4 years ago

I realy confuse why i can not require fs successfully. i try to see what fs is using console.log and i get this: {}