我已经使用$env:myprivatekey ="test"设置环境变量
我使用$env:myprivatekey测试变量test
问题是config.get("myprivatekey");
throw new Error('Configuration property"' + property + '" is not defined');
^
Error: Configuration property"myprivatekey" is not defined
at Config.get (C:UsersmiskoDocumentsProjectsWeddingSallonnode_modulesconfiglibconfig.js:182:11)
at Object. (C:UsersmiskoDocumentsProjectsWeddingSallonapp.js:6:8)
at Module._compile (internal/modules/cjs/loader.js:959:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Function.Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10)
at internal/main/run_main_module.js:17:11