Comments (4)
@markosii I've never seen that error. Try running it with DEBUG
on:
DEBUG=crawler:* ./crawl -u https://www.dadoune.com
And see if there is more info.
from crawler.
Thanks for reply,
I just did this :
DEBUG=crawler:* ./crawl -u https://www.dadoune.com
and I have this error :
crawler:mongo Drop page collection +0ms
(node:130492) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): MongoError: ns not found
(node:130492) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
events.js:182
throw er; // Unhandled 'error' event
^
Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
at Object._errnoException (util.js:1041:11)
at _exceptionWithHostPort (util.js:1064:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1153:14)
from crawler.
my experience a bit different.
DEBUG=crawler:* ./crawl -u https://www.dadoune.com
after complaining it didn't have mongod running
(node:11337) UnhandledPromiseRejectionWarning: MongoError: failed to connect to server [localhost:27017] on firstconnect [MongoError: connect ECONNREFUSED 127.0.0.1:27017]
i installed and started mongodb
pacman -S mongdb && systemctl start mongodb
then i get
events.js:167
throw er; // Unhandled 'error' event
^
Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1121:14)
Emitted 'error' event at:
at RedisClient.on_error (/home/yair/dev/crawler/node_modules/redis/index.js:406:14)
at Socket.<anonymous> (/home/yair/dev/crawler/node_modules/redis/index.js:279:14)
at Socket.emit (events.js:182:13)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process.internalTickCallback (internal/process/next_tick.js:72:19)
from crawler.
Do you have redis installed and running? If not you need to.
from crawler.
Related Issues (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 crawler.