如何修复致命错误:jwtPrivateKey未定义

时间:2019-10-02 00:07:47

标签: node.js

我不断收到此错误,表明未定义jwtPrivateKey。请帮忙。

     '    at module.exports (/Users/samibaghban/Desktop/wentro-backend/startup/config.js:5:11)',
     '    at Object.<anonymous> (/Users/samibaghban/Desktop/wentro-backend/index.js:8:28)',
     '    at Module._compile (internal/modules/cjs/loader.js:776:30)',
     '    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)',
     '    at Module.load (internal/modules/cjs/loader.js:653:32)',
     '    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)',
     '    at Function.Module._load (internal/modules/cjs/loader.js:585:3)',
     '    at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)',
     '    at startup (internal/bootstrap/node.js:283:19)',
     '    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)' ```

0 个答案:

没有答案