Comments (7)
Cannot reproduce in Microsoft Windows 10 Enterprise edition 10.0.17134 Build 17134
. Will keep investigating
from mandarinets.
Cannot reproduce anymore either.
Seems like something fluctuated, as I can now run it without issues.
Will close for now, as it is not reproducible.
from mandarinets.
So I closed this too early since this bug seems to show once I restarted debugging from the same code, which gave me undefined
again.
This clearly needs more investigation, reopening.
from mandarinets.
This bug was reproducible for me again and I think I found the issue why it wasn't reproducible in the first run.
In my repo there is a file called .env.sample
which is the sample .env file for my project.
I use the MANDARINE_PROPERTY_FILE
environment variable to load my custom properties.json
file for mandarine.
This would normally get loaded from a different folde since I have a different folder structure.
Please try to rename said .env file so it gets loaded. After that, you will see my bug occur in code.
I will append this info to my repo.
from mandarinets.
I think this has to do with the session container configuration and something being ignored from the properties.json. Will investigate into it & try to have a fix for today.
from mandarinets.
can you try setting enableSessions
inside mandarine.server
to true.?
{
"mandarine": {
"server": {
"port": 8080,
"host": "localhost",
"enableSessions": true
},
"resources": {
"staticFolder": "./lib/resources/assets"
},
"templateEngine": {
"path": "./lib/resources/templates"
}
}
}
& let me know what happens @peanutbother
from mandarinets.
this was indeed the missing piece of information - it all works now, so I'll close this again.
The lack of documentation about this should get tracked, as @andreespirela pointed out, we should track it in #273
from mandarinets.
Related Issues (20)
- Configuration should be set programatically HOT 1
- Implement service loader by JSON
- Create task scheduler
- Creates mandarine web sockets HOT 1
- Generics when getting dependencies manually HOT 1
- Expose Mandarine Security Expressions Evaluator HOT 1
- 3.0.0 Release Checklist
- Build Mandarine's first microservice factory. HOT 1
- CORS preflight requests broken HOT 2
- Database connection could not be reached HOT 14
- custom view path not honored when using denjucks template engine
- Decorator finder processes for a long time or inifinitely
- Make project name more clean: `Mandarine` instead of `Mandarine.TS`
- Error on startup: `error: TS2339 [ERROR]: Property 'toPrimitive' does not exist on type 'never'.` HOT 6
- Severarl Errors: error: 'getIterator', 'toPrimitive', 'iterator' in main-core/reflectMetadata.ts HOT 1
- Async implementation of the loadUserByUsername function of UserDetailsService
- Requested module does not provide export named 'Middleware'
- `https://www.mandarinets.org/` could not be served HOT 1
- Is Mandarine actively developed?
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 mandarinets.