There is no problem if you start the program in development mode, but switching to production mode will throw the following error:
Warning:connect.session() MemoryStore is not designed for a production environment, as it will leakmemory, and will not scale past a single process.server connect,the port:3030
Warning about the risk of memory leaks. Do not store cached data such as sessions directly in the host's memory.