Eu sou novo aqui e esta é a minha primeira pergunta, me perdoe se eu não for muito bom em formar minha pergunta, eu apreciarei seus críticos sobre isso, assim como sua ajuda para resolver o meu problema,
Eu tenho esse erro no comando ./gulp
O servidor é cent OS
07:14:13] Using gulpfile
/home/webdeveloper/sites/zirveyiz.biz/gulpfile.js
[07:14:13] Starting 'watch'...
[07:14:13] Finished 'watch' after 46 ms
[07:14:13] Starting 'html'...
[07:14:13] Finished 'html' after 8.92 ms
[07:14:13] Starting 'js'...
[07:14:13] Finished 'js' after 3.16 ms
[07:14:13] Starting 'css'...
[07:14:13] Finished 'css' after 1.78 ms
[07:14:13] Starting 'webserver'...
[07:14:13] Webserver started at http://0.0.0.0:80
[07:14:13] Finished 'webserver' after 13 ms
[07:14:13] Starting 'default'...
[07:14:13] Finished 'default' after 12 μs
internal/child_process.js:298
throw errnoException(err, 'spawn');
^
Error: spawn ENOMEM
at exports._errnoException (util.js:874:11)
at ChildProcess.spawn (internal/child_process.js:298:11)
at exports.spawn (child_process.js:339:9)
at Object.exports.execFile (child_process.js:141:15)
at exports.exec (child_process.js:101:18)
at open (/home/webdeveloper/sites/zirveyiz.biz/node_modules/gulp-
webserver/node_modules/open/lib/open.js:58:10)
at Server.openInBrowser
(/home/webdeveloper/sites/zirveyiz.biz/node_modules/gulp- webserver/src/index.js:98:5)
at Server.g (events.js:260:16)
at emitNone (events.js:67:13)
at Server.emit (events.js:166:7)
Eu já chmod 777 -R *, só para ver se era um problema de permissão de arquivo não era
Você tem uma ideia, qual é o problema?
Eu pensei que talvez eu devesse atualizar o nó, então eu tentei
que lançam este erro:
[root@s50-62-22-143 zirveyiz.biz]# sudo npm install -g n
Error: spawn ENOMEM
at exports._errnoException (util.js:874:11)
at ChildProcess.spawn (internal/child_process.js:298:11)
at exports.spawn (child_process.js:339:9)
at Object.exports.execFile (child_process.js:141:15)
at uidNumber (/usr/local/lib/node_modules/npm/node_modules/uid- number/uid-number.js:33:17)
at Conf.loadUid (/usr/local/lib/node_modules/npm/lib/config/load-uid.js:11:5)
at Conf.<anonymous> (/usr/local/lib/node_modules/npm/lib/config/core.js:238:10)
at Conf.setUser (/usr/local/lib/node_modules/npm/lib/config/set- user.js:15:34)
at Conf.loadExtras (/usr/local/lib/node_modules/npm/lib/config/core.js:235:8)
at Conf.<anonymous> (/usr/local/lib/node_modules/npm/lib/config/core.js:174:12)
/usr/local/lib/node_modules/npm/lib/npm.js:29 throw new Error('npm.load() required') ^
Error: npm.load() required
at Object.npm.config.get (/usr/local/lib/node_modules/npm/lib/npm.js:29:11)
at exit (/usr/local/lib/node_modules/npm/lib/utils/error-handler.js:58:40)
at process.errorHandler
(/usr/local/lib/node_modules/npm/lib/utils/error-handler.js:385:3)
at emitOne (events.js:77:13)
at process.emit (events.js:169:7)
at process._fatalException (node.js:223:26)
This site used to be working, iam not sure why gulp command is not working anymore ?
Obrigado pela sua ajuda