我们正在使用shopify-api-node MONEI/Shopify-api-node。我们正在为我的Shopify应用实现Redis内存strategy,以进行部署。 MemoryStrategy工作正常,没有任何错误。关于RedisStrategy的问题当我为Windows启动ngrok.exe和redis-server.exe的本地主机时,在Shopify安装URL上收到错误消息。 error 警告:
警告:
express-session deprecated req.secret; provide secret option server\index.js:72:2 Warning: Failed option type: The option apiKeyis marked as required inShopifyExpress, but its value is undefined. Warning: Failed option type: The option hostis marked as required inShopifyExpress, but its value is undefined. Warning: Failed option type: The option secretis marked as required inShopifyExpress, but its value is undefined.
.env文件的所有键正确。
这是我的index.js
index.js出了什么问题?