ramsaylanier / WordExpressSchema

This package provides a connection to a WordPress database using Sequelize and provides a standard set of GraphQL queries.
148 stars 31 forks source link

Fix capitalization typo error which causes runtime error in some *nix machines #21

Closed iamake closed 6 years ago

iamake commented 6 years ago

Below is an error on my environment. Patching this PR would fix the problem.

[ec2-user@ip-172-26-7-xxx xxx-graph]$ uname -a
Linux ip-172-26-7-xxx 4.9.76-3.78.amzn1.x86_64 #1 SMP Fri Jan 12 19:51:35 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[ec2-user@ip-172-26-7-xxx xxx-graph]$ ./pm2-app.sh 
module.js:559
    throw err;
    ^

Error: Cannot find module './modules/Postmeta/connectors'
    at Function.Module._resolveFilename (module.js:557:15)
    at Function.Module._load (module.js:484:25)
    at Module.require (module.js:606:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/...xxx.../node_modules/wordexpress-schema/lib/db.js:39:20)
ramsaylanier commented 6 years ago

Also it looks like some commits from the previous PR are still in here. Did you pull from the upstream before submitting this PR?

iamake commented 6 years ago

Will close this for another one

iamake commented 6 years ago

22 created to replace this one