'apiKey.id is required' error thrown when using express-stormpath with node.js
问题 I am using express-stormpath with node.js to set up a backend server. This is a snippet of my server.js code where I get an error thrown - app.use(stormpath.init(app, { apiKeyFile: './config/.stormpath/apikey.properties', application: '<API_HREF>', secretKey: security.stormpath_secret_key })); This is the error - $ node server.js ../webservices/node_modules/express- stormpath/node_modules/stormpath/lib/authc/RequestAuthenticator.js:8 throw new Error('apiKey.id is required.'); How do I fix