N
N
neodekvat092015-03-26 14:54:00
css
neodekvat09, 2015-03-26 14:54:00

Where is the error in gulpfile.js?

Hello, tell me, where is the error in the hapfile?
I can’t understand, I seem to be doing everything according to tutorials, but nevertheless. Moreover, the error is strange and incomprehensible (at least in my narrow-minded understanding)
UPD:
I don’t understand what’s the matter? I changed the port, and also tried the default one.
When entering the page with the specified port in the terminal, such an error or something

Error: Forbidden
    at createError (/home/axel/Web/Test/node_modules/gulp-connect/node_modules/connect/node_modules/serve-index/index.js:188:13)
    at Object.directory [as handle] (/home/axel/Web/Test/node_modules/gulp-connect/node_modules/connect/node_modules/serve-index/index.js:100:46)
    at next (/home/axel/Web/Test/node_modules/gulp-connect/node_modules/connect/lib/proto.js:194:15)
    at SendStream.error (/home/axel/Web/Test/node_modules/gulp-connect/node_modules/connect/node_modules/serve-static/index.js:86:37)
    at SendStream.EventEmitter.emit (events.js:95:17)
    at SendStream.error (/home/axel/Web/Test/node_modules/gulp-connect/node_modules/connect/node_modules/serve-static/node_modules/send/lib/send.js:172:51)
    at SendStream.onStatError (/home/axel/Web/Test/node_modules/gulp-connect/node_modules/connect/node_modules/serve-static/node_modules/send/lib/send.js:285:48)
    at /home/axel/Web/Test/node_modules/gulp-connect/node_modules/connect/node_modules/serve-static/node_modules/send/lib/send.js:378:26
    at Object.oncomplete (fs.js:107:15)
Error: Forbidden
    at createError (/home/axel/Web/Test/node_modules/gulp-connect/node_modules/connect/node_modules/serve-index/index.js:188:13)
    at Object.directory [as handle] (/home/axel/Web/Test/node_modules/gulp-connect/node_modules/connect/node_modules/serve-index/index.js:100:46)
    at next (/home/axel/Web/Test/node_modules/gulp-connect/node_modules/connect/lib/proto.js:194:15)
    at SendStream.error (/home/axel/Web/Test/node_modules/gulp-connect/node_modules/connect/node_modules/serve-static/index.js:86:37)
    at SendStream.EventEmitter.emit (events.js:95:17)
    at SendStream.error (/home/axel/Web/Test/node_modules/gulp-connect/node_modules/connect/node_modules/serve-static/node_modules/send/lib/send.js:172:51)
    at SendStream.onStatError (/home/axel/Web/Test/node_modules/gulp-connect/node_modules/connect/node_modules/serve-static/node_modules/send/lib/send.js:285:48)
    at /home/axel/Web/Test/node_modules/gulp-connect/node_modules/connect/node_modules/serve-static/node_modules/send/lib/send.js:378:26
    at Object.oncomplete (fs.js:107:15)
Error: Forbidden
    at createError (/home/axel/Web/Test/node_modules/gulp-connect/node_modules/connect/node_modules/serve-index/index.js:188:13)
    at Object.directory [as handle] (/home/axel/Web/Test/node_modules/gulp-connect/node_modules/connect/node_modules/serve-index/index.js:100:46)
    at next (/home/axel/Web/Test/node_modules/gulp-connect/node_modules/connect/lib/proto.js:194:15)
    at SendStream.error (/home/axel/Web/Test/node_modules/gulp-connect/node_modules/connect/node_modules/serve-static/index.js:86:37)
    at SendStream.EventEmitter.emit (events.js:95:17)
    at SendStream.error (/home/axel/Web/Test/node_modules/gulp-connect/node_modules/connect/node_modules/serve-static/node_modules/send/lib/send.js:172:51)
    at SendStream.onStatError (/home/axel/Web/Test/node_modules/gulp-connect/node_modules/connect/node_modules/serve-static/node_modules/send/lib/send.js:285:48)
    at /home/axel/Web/Test/node_modules/gulp-connect/node_modules/connect/node_modules/serve-static/node_modules/send/lib/send.js:378:26
    at Object.oncomplete (fs.js:107:15)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
George, 2015-09-20
@neodekvat09

I'll try this: root: [__dirname]

M
Mikhail Osher, 2015-03-26
@miraage

Apparently, it says that the port is busy ..

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question