Comments (7)
Ready to test on develop
. Could somebody give it a try to confirm that it's working? Also available using the develop
docker tag.
from ackee.
Hi ! i've a trouble with login me too.
Problem is simple in my case. I found process.env.USERNAME
is not equal to USERNAME .env parameter but equal to my windows session Username ! So, Maybe Username is reserved process.env parameter overwritten by node.
Simple solution is to use another entry like ACKEE_USERNAME and ACKEE_PASSWORD. I think it's better because USERNAME and PASSWORD were ambiguous, I first thought it was the identifiers for my mongodb instance. (My fault I did not read the doc correctly)
from ackee.
The dotenv
documentation explains why this is happening:
We will never modify any environment variables that have already been set. In particular, if there is a variable in your .env file which collides with one that already exists in your environment, then that variable will be skipped. This behavior allows you to override all .env configurations with a machine-specific environment, although it is not recommended.
This somehow makes sense, but it's annoying when it's not you overwriting the variables.
I will add the prefixes in the next update which should be ready in a few days. Thanks for letting me know!
from ackee.
Thanks for the update. I tested the develop
branch and it works great (not using Docker)
from ackee.
v1.1.0 is now live and includes the ACKEE_
prefix for all variables.
from ackee.
I tried to log process.env.USERNAME
, turn out it was override as root
from somewhere within the app.
from ackee.
This is interesting. Using ACKEE_USERNAME
and ACKEE_PASSWORD
could be a solution. Maybe prefixing all environment variables with ACKEE_
could help to avoid collisions.
from ackee.
Related Issues (20)
- The `clientId` in the database is always been `null` HOT 1
- Make ackee loadable from subfolder/same host HOT 1
- Ackee event tracking fails with "TypeError: instance.action is not a function". HOT 1
- Allow negative values on events HOT 2
- Multiple Languages / Translations HOT 1
- CORS headers are not attached for serverless function on Vercel HOT 10
- Build Failing HOT 2
- Unable to login to Ackee | Vercel Deployment HOT 4
- Cant login to dashboard HOT 7
- Error login HOT 1
- Unrecognized time zone identifier: "Europe/Kyiv" HOT 6
- Unexpected token 'A', "An error o"... is not valid JSON HOT 1
- Hosting my website on netlify makes requests from preview builds logged HOT 6
- Cloudflare tunnels HOT 1
- A Public Analytics Page for Increased Transparency and User Engagement
- Support passwordless public dashboard HOT 2
- Trouble Signing In to app. Received status code 502 HOT 2
- Unable to connect to MongoDB with TLS
- Is it possible to integrate the Ackee with NextJS as inbuilt analytics. HOT 1
- unrecognized time zone identifier: "Europe/Kyiv" HOT 1
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 ackee.