Comments (4)
I have the same problem, I added the exact path to the file and the server stopped crashing.
this.instance
.use(
new LocalSession({
database: '../../session_db.json',
storage: LocalSession.storageFileAsync,
}),
)
.middleware();
from telegraf-session-local.
Hi
Please, provide more technical info about your environment - versions of nodejs, npm, OS, contents of package.json, etc.
Also, it would be great if you could create a repository and upload your code to it, which I could download and test on my own to try to catch your bug.
from telegraf-session-local.
@Shuma24 may you please send dependencies
which you are using in package.json
of your project?
Looks like your server simply reloads itself each time when session_db.json
file modified.
This case pretty much similar to #186
from telegraf-session-local.
Closing due to lack of activity
from telegraf-session-local.
Related Issues (20)
- created session value is missing on the "poll_answer" ctx HOT 1
- Problem with types HOT 8
- can't find module telegraf-session HOT 2
- Typo in the full example HOT 5
- How to use this session local with Scene HOT 2
- Session with AWS Lambdas does not persist state when it is set after an async operation. HOT 7
- issue with nodemon HOT 2
- Is it possible to change a user session? HOT 2
- session doesn't save to file with latest telegraf version > 4.8 HOT 2
- Is it possible to set an expiration time to a session? HOT 3
- How many concurrent users this library can handle? HOT 3
- Session not cleared after async task
- Cannot find module './lodash-id.js HOT 2
- Save a session on bot start? HOT 3
- Session doesn't updated in 2nd middleware in row HOT 2
- Typescript typings
- Error with Session version 1.0.3 with telegraf-js v 3.38 HOT 1
- Property 'session' does not exist on type 'TelegrafContext' HOT 2
- Not all data is saved in a local file HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telegraf-session-local.