Answer the question
In order to leave comments, you need to log in
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
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"
};
Yes, but as luck would have it, a tunnel is needed ... Haven't found a solution yet?
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",
};
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question