Bitte um Hilfe beim npm Install

  • Hallo Zusammen,


    ich versuche npm zu Installieren, meine config sieht so aus



    allerdings installiert der nicht alles, auch beim löschen und wieder neuinstallieren haut der immer errors raus


    auch npm update ist fehlgeschlagen


    anbei die error log


    npm-debug.zip


    ich wäre sehr froh wenn mir jemand bei der installation helfen könnte


    Gruß


    B-DeadAngel

    • Offizieller Beitrag

    Hi,


    das Problem ist in nodePush 2.0.0 (aktuell Beta) behoben.
    Schuld daran sind Abhängigkeiten, die mit node 0.12 und neuer nicht mehr kompatibel sind.


    Im Grunde müssten diese Änderungen durchgeführt werden, um die erwähnte Abhängigkeit zu entfernen: https://github.com/wbbaddons/n…ca7e489fbdefe6cc623e3d89e
    Somit spart man sich auch die Arbeit, eine alte node-Version zu installieren.

  • die installation ging jetzt nur bekomme ich beim starten einen fehler


    npm ERR! Linux 3.14.32-xxxx-std-ipv6-64
    npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
    npm ERR! node v5.1.0
    npm ERR! npm v3.3.12
    npm ERR! code ELIFECYCLE
    npm ERR! be.bastelstu.wcf.nodePush@1.2.0 start: `coffee app.coffee`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the be.bastelstu.wcf.nodePush@1.2.0 start script 'coffee app.coffee'.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the be.bastelstu.wcf.nodePush package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR! coffee app.coffee
    npm ERR! You can get their info via:
    npm ERR! npm owner ls be.bastelstu.wcf.nodePush
    npm ERR! There is likely additional logging output above.



    npm ERR! Please include the following file with any support request:
    npm ERR! /var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush/npm-debug.log

  • root@ns3220979:/var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush# npm install



    > bufferutil@1.2.1 install /var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/bufferutil
    > node-gyp rebuild



    make: Entering directory `/var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/bufferutil/build'
    CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
    SOLINK_MODULE(target) Release/obj.target/bufferutil.node
    COPY Release/bufferutil.node
    make: Leaving directory `/var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/bufferutil/build'



    > utf-8-validate@1.2.1 install /var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/utf-8-validate
    > node-gyp rebuild



    make: Entering directory `/var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/utf-8-validate/build'
    CXX(target) Release/obj.target/validation/src/validation.o
    SOLINK_MODULE(target) Release/obj.target/validation.node
    COPY Release/validation.node
    make: Leaving directory `/var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/utf-8-validate/build'
    be.bastelstu.wcf.nodePush@1.2.0 /var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush
    ├── coffee-script@1.10.0
    ├─┬ cors@2.7.1
    │ └── vary@1.1.0
    ├── debug@0.8.1
    ├─┬ express@4.13.3
    │ ├─┬ accepts@1.2.13
    │ │ ├─┬ mime-types@2.1.7
    │ │ │ └── mime-db@1.19.0
    │ │ └── negotiator@0.5.3
    │ ├── array-flatten@1.1.1
    │ ├── content-disposition@0.5.0
    │ ├── content-type@1.0.1
    │ ├── cookie@0.1.3
    │ ├── cookie-signature@1.0.6
    │ ├─┬ debug@2.2.0
    │ │ └── ms@0.7.1
    │ ├── depd@1.0.1
    │ ├── escape-html@1.0.2
    │ ├── etag@1.7.0
    │ ├─┬ finalhandler@0.4.0
    │ │ ├── debug@2.2.0
    │ │ └── unpipe@1.0.0
    │ ├── fresh@0.3.0
    │ ├── merge-descriptors@1.0.0
    │ ├── methods@1.1.1
    │ ├─┬ on-finished@2.3.0
    │ │ └── ee-first@1.1.1
    │ ├── parseurl@1.3.0
    │ ├── path-to-regexp@0.1.7
    │ ├─┬ proxy-addr@1.0.8
    │ │ ├── forwarded@0.1.0
    │ │ └── ipaddr.js@1.0.1
    │ ├── qs@4.0.0
    │ ├── range-parser@1.0.3
    │ ├─┬ send@0.13.0
    │ │ ├── debug@2.2.0
    │ │ ├── destroy@1.0.3
    │ │ ├─┬ http-errors@1.3.1
    │ │ │ └── inherits@2.0.1
    │ │ ├── mime@1.3.4
    │ │ └── statuses@1.2.1
    │ ├── serve-static@1.10.0
    │ ├─┬ type-is@1.6.9
    │ │ └── media-typer@0.3.0
    │ ├── utils-merge@1.0.0
    │ └── vary@1.0.1
    ├─┬ socket.io@1.3.7
    │ ├─┬ debug@2.1.0
    │ │ └── ms@0.6.2
    │ ├─┬ engine.io@1.5.4
    │ │ ├── base64id@0.1.0
    │ │ ├─┬ debug@1.0.3
    │ │ │ └── ms@0.6.2
    │ │ ├─┬ engine.io-parser@1.2.2
    │ │ │ ├── after@0.8.1
    │ │ │ ├── arraybuffer.slice@0.0.6
    │ │ │ ├── base64-arraybuffer@0.1.2
    │ │ │ ├── blob@0.0.4
    │ │ │ └── utf8@2.1.0
    │ │ └─┬ ws@0.8.0
    │ │ ├─┬ bufferutil@1.2.1
    │ │ │ ├── bindings@1.2.1
    │ │ │ └── nan@2.1.0
    │ │ ├── options@0.0.6
    │ │ ├── ultron@1.0.2
    │ │ └── utf-8-validate@1.2.1
    │ ├─┬ has-binary-data@0.1.3
    │ │ └── isarray@0.0.1
    │ ├─┬ socket.io-adapter@0.3.1
    │ │ ├─┬ debug@1.0.2
    │ │ │ └── ms@0.6.2
    │ │ ├── object-keys@1.0.1
    │ │ └─┬ socket.io-parser@2.2.2
    │ │ └── debug@0.7.4
    │ ├─┬ socket.io-client@1.3.7
    │ │ ├── backo2@1.0.2
    │ │ ├── component-bind@1.0.0
    │ │ ├── component-emitter@1.1.2
    │ │ ├── debug@0.7.4
    │ │ ├─┬ engine.io-client@1.5.4
    │ │ │ ├── component-inherit@0.0.3
    │ │ │ ├─┬ debug@1.0.4
    │ │ │ │ └── ms@0.6.2
    │ │ │ ├─┬ has-cors@1.0.3
    │ │ │ │ └── global@2.0.1
    │ │ │ ├── parsejson@0.0.1
    │ │ │ ├── parseqs@0.0.2
    │ │ │ ├── parseuri@0.0.4
    │ │ │ └── xmlhttprequest@1.5.0
    │ │ ├── has-binary@0.1.6
    │ │ ├── indexof@0.0.1
    │ │ ├── object-component@0.0.3
    │ │ ├─┬ parseuri@0.0.2
    │ │ │ └─┬ better-assert@1.0.2
    │ │ │ └── callsite@1.0.0
    │ │ └── to-array@0.1.3
    │ └─┬ socket.io-parser@2.2.4
    │ ├── benchmark@1.0.0
    │ ├── debug@0.7.4
    │ └── json3@3.2.6
    └─┬ winston@0.8.3
    ├── async@0.2.10
    ├── colors@0.6.2
    ├── cycle@1.0.3
    ├── eyes@0.1.8
    ├── isstream@0.1.2
    ├── pkginfo@0.3.1
    └── stack-trace@0.0.9



    npm WARN EPACKAGEJSON be.bastelstu.wcf.nodePush@1.2.0 No repository field.
    npm WARN EPACKAGEJSON be.bastelstu.wcf.nodePush@1.2.0 No license field.
    root@ns3220979:/var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush# npm start



    > be.bastelstu.wcf.nodePush@1.2.0 start /var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush
    > coffee app.coffee



    Error: Cowardly refusing to keep the process alive as root
    at panic (/var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush/app.coffee:8:22)
    at Object.<anonymous> (/var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush/app.coffee:9:1)
    at Object.<anonymous> (/var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush/app.coffee:1:1)
    at Module._compile (module.js:425:26)
    at Object.exports.run (/var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/coffee-script/lib/coffee-script/coffee-script.js:134:23)
    at compileScript (/var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/coffee-script/lib/coffee-script/command.js:224:29)
    at compilePath (/var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/coffee-script/lib/coffee-script/command.js:174:14)
    at Object.exports.run (/var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/coffee-script/lib/coffee-script/command.js:98:20)
    at Object.<anonymous> (/var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/coffee-script/bin/coffee:7:41)
    at Module._compile (module.js:425:26)
    at Object.Module._extensions..js (module.js:432:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Function.Module.runMain (module.js:457:10)
    at startup (node.js:138:18)
    at node.js:974:3




    npm ERR! Linux 3.14.32-xxxx-std-ipv6-64
    npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
    npm ERR! node v5.1.0
    npm ERR! npm v3.3.12
    npm ERR! code ELIFECYCLE
    npm ERR! be.bastelstu.wcf.nodePush@1.2.0 start: `coffee app.coffee`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the be.bastelstu.wcf.nodePush@1.2.0 start script 'coffee app.coffee'.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the be.bastelstu.wcf.nodePush package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR! coffee app.coffee
    npm ERR! You can get their info via:
    npm ERR! npm owner ls be.bastelstu.wcf.nodePush
    npm ERR! There is likely additional logging output above.



    npm ERR! Please include the following file with any support request:
    npm ERR! /var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush/npm-debug.log
    root@ns3220979:/var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush#

  • Hallo Zusammen,


    danke Max Tim und Sascha für die Hilfe


    so also so wie es ausschaucht läuft alles


    haben denn diese warnungen irgendwas zu sagen


    dminbda@ns3220979:~/Brothers/wcf/acp/be.bastelstu.wcf.nodePush$ npm start



    > be.bastelstu.wcf.nodePush@1.2.0 start /var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush
    > coffee app.coffee



    nodePush (pid:30531)
    ====================
    warn: Could not find configuration file: errno=-2, code=ENOENT, syscall=lstat, path=/var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush/config
    info: Done


    nodePush (pid:31842)
    ====================
    warn: Could not find configuration file: errno=-2, code=ENOENT, syscall=lstat, path=/var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePush/config
    info: Done


    Gruß


    B-DeadAngel

  • Hallo Zusammen,


    seit heute bekomme ich follgende fehlermeldung beim npm starten



    > be.bastelstu.wcf.nodePush@1.2.0 start /var/www/vhosts/ns3220979.ip-37-59-6.eu/ Brothers/wcf/acp/be.bastelstu.wcf.nodePush
    > coffee app.coffee



    nodePush (pid:1529)
    ===================
    warn: Could not find configuration file: errno=-2, code=ENOENT, syscall=lstat, path=/var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.n odePush/config
    /var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastelstu.wcf.nodePu sh/app.coffee:200
    throw new Error("Failed when initializing inbound socket: " + e.message);
    ^



    Error: Failed when initializing inbound socket: listen EADDRINUSE 127.0.0.1:9002
    at Server.<anonymous> (/var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/ac p/be.bastelstu.wcf.nodePush/app.coffee:135:13)
    at emitOne (events.js:77:13)
    at Server.emit (events.js:169:7)
    at emitErrorNT (net.js:1255:8)
    at nextTickCallbackWith2Args (node.js:474:9)
    at process._tickCallback (node.js:388:17)
    at Function.Module.runMain (module.js:431:11)
    at startup (node.js:139:18)
    at node.js:999:3




    npm ERR! Linux 3.14.32-xxxx-std-ipv6-64
    npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
    npm ERR! node v5.4.1
    npm ERR! npm v3.3.12
    npm ERR! code ELIFECYCLE
    npm ERR! be.bastelstu.wcf.nodePush@1.2.0 start: `coffee app.coffee`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the be.bastelstu.wcf.nodePush@1.2.0 start script 'coffee app. coffee'.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the be.bastelstu.wcf.node Push package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR! coffee app.coffee
    npm ERR! You can get their info via:
    npm ERR! npm owner ls be.bastelstu.wcf.nodePush
    npm ERR! There is likely additional logging output above.



    npm ERR! Please include the following file with any support request:
    npm ERR! /var/www/vhosts/ns3220979.ip-37-59-6.eu/Brothers/wcf/acp/be.bastels tu.wcf.nodePush/npm-debug.log


    kann mir einer sagen was das ist?


    Gruß


    B-DeadAngel