You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
@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)
The text was updated successfully, but these errors were encountered: