Comments (7)
Solution: sudo apt-get install libkrb5-dev
This is the first time I needed some linux package as a dependency. Is there some way to track and record these? As in, how can I make npm
NOT break an otherwise running installation when attempting to update packages, when certain linux dependencies aren't met?
from winston-mongodb.
I experienced this same build failure, but on windows.
from winston-mongodb.
@Redsandro keep in mind that kerberos
is MongoDB itself dependency, not winston-mongdb. If you have any questions regarding this it's better to ask them in the node-mongodb-native repo (more exactly, in mongodb-core https://www.npmjs.com/package/mongodb-core).
from winston-mongodb.
Good to know. This is interesting, because I already have mongodb-native running with my app, without said package installed. Perhaps it was introduced in a semi-recent release?
from winston-mongodb.
I'm not sure. I will investigate this today. Anyway, Kerberos mentioned as optional dependency of mongodb and you can prevent it from installing by executing npm with --no-optional argument (or something similar, you can look it up in the npm documentation). Maybe there is a way to specify this argument in package.json.
On Oct 25, 2015, at 4:54 PM, Sander AKA Redsandro [email protected] wrote:
Good to know. This is interesting, because I already have mongodb-native running with my app, without said package installed. Perhaps it was introduced in a semi-recent release?
—
Reply to this email directly or view it on GitHub.
from winston-mongodb.
I didn't know about the --no-optional
.
Maybe there is a way to specify this argument in package.json
That would be a solution. A quick glance doesn't look like it. Surely this can be an issue for other packages as well, so it would make sense if there's some kind of option or safeguard for this.
Interesting.
I'm not sure why node-mongodb
(optionally) uses kerberos. I authenticate using authenticate()
on a connection just fine. Perhaps kerberos is a non-plaintext alternative.
from winston-mongodb.
Perhaps kerberos is a non-plaintext alternative
This is pretty close.
According to wikipedia, kerberos /ˈkərbərəs/ is a computer network authentication protocol which works on the basis of 'tickets' to allow nodes communicating over a non-secure network to prove their identity to one another in a secure manner.
A quick glance doesn't look like it
Same for me.
What if you are passing this option to npm install
itself?
from winston-mongodb.
Related Issues (20)
- winston.transports.MongoDB pushes empty root path "/" HOT 3
- How to set the db name? HOT 6
- Stop deprecation of pre-connected DB object HOT 9
- Update repo link in npm HOT 1
- Deprecation warning { useUnifiedTopology: true } when using mongoose v>6.x HOT 5
- Authentication error when passing the database HOT 4
- Load balancer mode requires driver version 4+ HOT 14
- TypeError: value.getLowBits is not a function HOT 5
- No overload matches this call
- can you tell me how to add new property . or expireAfterSeconds HOT 2
- after pushing logs to mongoDB script keeps running and is not ending HOT 5
- winston-transport this.once in the code causes app to crash. HOT 2
- How to add custom field?
- NodeJS 20 Deprecation Warning DEP0170 HOT 11
- [Feature Request]: Make CI work HOT 6
- Ignoring level HOT 4
- [Bug]: can't format timestamp using `winston.format.timestamp` HOT 1
- [Bug]: Code snippet hangs up when logging to MongoDB. HOT 2
- [Bug]: Cannot find package "mongodb-extjson" HOT 2
- [Bug]: ObjectId in meta transformed to empty object HOT 7
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 winston-mongodb.