A
A
Alex Polyakh2017-05-26 19:37:41
Node.js
Alex Polyakh, 2017-05-26 19:37:41

gulp module error [error] localtunnel server returned an error, please try again what is the reason?

I could not find the answer in the search, for this error, please tell me.
I will attach screenshots of gulp-config and errors in console.
Assembly worked today, everything was fine. Didn't change anything in config.
prntscr.com/fcf6ty
C:\Users\Polyakh\Desktop\indigo\node_modules\rx\dist\rx.js:77
throw e;
^
TypeError: Cannot read property 'sockets' of undefined
at EventEmitter.browser:reload (C:\Users\Polyakh\Desktop\indigo\node_modules\browser-sync\lib\internal-events.js:23:18)
at emitNone( events.js:91:20)
at EventEmitter.emit (events.js:185:7)
at AnonymousObserver._onNext (C:\Users\Polyakh\Desktop\indigo\node_modules\browser-sync\lib\internal-events.js :95:27)
at AnonymousObserver.Rx.AnonymousObserver.AnonymousObserver.next (C:\Users\Polyakh\Desktop\indigo\node_modules\rx\dist\rx.js:1828:12) :\Users\Polyakh\Desktop\indigo\node_modules\rx\
at AnonymousObserver.tryCatcher (C:\Users\Polyakh\Desktop\indigo\node_modules\rx\dist\rx.js:63:31)
at AutoDetachObserverPrototype.next (C :\Users\Polyakh\Desktop\indigo\node_modules\rx\dist\rx.js:5883:51)
at AutoDetachObserver.Rx.internals.AbstractObserver.AbstractObserver.onNext (C:\Users\Polyakh\Desktop\indigo\node_modules\ rx
at InnerObserver.next (C:\Users\Polyakh\Desktop\indigo\node_modules\rx\dist\rx.js:5409:14)
at InnerObserver.Rx.internals.AbstractObserver.AbstractObserver.onNext (C:\Users\Polyakh\Desktop\indigo\node_modules\rx\dist
at InnerObserver.tryCatcher (C:\Users\Polyakh\Desktop\indigo\node_modules\rx\dist \rx.js:63:31)
at AutoDetachObserverPrototype.next (C:\Users\Polyakh\Desktop\indigo\node_modules\rx\dist\rx.js:5883:51)
at AutoDetachObserver.Rx.internals.AbstractObserver.AbstractObserver. onNext (C:\Users\Polyakh\Desktop\indigo\node_modules\rx
at InnerObserver.next (C:\Users\Polyakh\Desktop\indigo\node_modules\rx\dist\rx.js:5759:29)
at InnerObserver.Rx .internals.AbstractObserver.AbstractObserver.onNext (C:\Users\Polyakh\Desktop\indigo\node_modules\rx\dist

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
IvanShishkin, 2017-05-27
@PolyakhAleksandr

Hello. Faced such a problem. At night, the build worked, but in the morning it didn’t :(
I didn’t change the config npm upadete didn’t. Tell me
, please, have you found a solution for this problem yet?
UPDATE:
I commented out tunel and everything worked.

var browserSyncConfig = {
    server: {
        baseDir: "./build"
    },
    //tunnel: true,
    host: 'localhost',
    port: 9000,
    logPrefix: "Frontend_Devil"
};

A
Anton Golubkov, 2017-05-29
@Gwynbleidd44

Yes, but as luck would have it, a tunnel is needed ... Haven't found a solution yet?

X
XirurG2204, 2018-08-23
@XirurG2204

Just in case, I'll leave the solution that helped me.
I put a comma after the line with logPrefix.
var config = {
server: {
baseDir: "./dist"
},
tunnel: true,
host: 'localhost',
port: 8081,
logPrefix: "XirurG",
};

O
Os Letnik, 2017-10-17
@let_NIK

I was helped by one or the other port or another logPrefix without "_" and "-" They write that the port needs to be changed. But I removed the symbols from sin. Tunnel running

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question