Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'createInsecure' of undefined #8

Open
Zhang-Jia opened this issue Jul 23, 2016 · 0 comments
Open

Cannot read property 'createInsecure' of undefined #8

Zhang-Jia opened this issue Jul 23, 2016 · 0 comments

Comments

@Zhang-Jia
Copy link

@bugall 下载了最新代码,出现了这个问题
root@iZ94e7vpidfZ:~/tisan-web-ide-master# node app.js
{ msg: '这是部署配置文件',
host: 'http://localhost',
listenPort: 8000,
redis: { host: 'localhost', port: 9000, sessionSecret: 'yoursecret' },
mysql:
{ connectionLimit: 10,
host: 'localhost',
user: 'root',
password: '220807',
database: 'PandoCloud',
port: '3306' },
qiniu:
{ name: '',
host: '',
accountAvatarCallback: '',
productAvatarCallback: '' },
mailconfig: [ { host: '', port: 25, auth: [Object] } ],
mailoptions: { from: '<[email protected]', subject: 'Tisan账号验证', to: '' },
iframe: 'http://localhost/product/webapp/',
grpc: [ 'localhost:20311' ],
docUrl: 'http://localhost/docoment/iframe' }
D0724 00:05:39.028021809 25776 ev_posix.c:101] Using polling engine: poll
/root/tisan-web-ide-master/service/grpc.js:4
var client = new product_grpc.ProductCMDS(config.grpc[0],grpc.Credentials.createInsecure());
^

TypeError: Cannot read property 'createInsecure' of undefined
at Object. (/root/tisan-web-ide-master/service/grpc.js:4:74)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at Object. (/root/tisan-web-ide-master/routes/workspace.js:3:12)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant