sigalor / whatsapp-web-reveng

Reverse engineering WhatsApp Web.
MIT License
6.09k stars 803 forks source link

Problem while using "npm start" #169

Open MikeyKraft opened 5 years ago

MikeyKraft commented 5 years ago

0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/nodejs', 1 verbose cli '/usr/bin/npm', 1 verbose cli 'run', 1 verbose cli 'dev', 1 verbose cli 'index_jsdemo.js' ] 2 info using npm@3.5.2 3 info using node@v4.2.6 4 verbose run-script [ 'predev', 'dev', 'postdev' ] 5 info lifecycle whatsapp-web-reveng@1.0.0~predev: whatsapp-web-reveng@1.0.0 6 silly lifecycle whatsapp-web-reveng@1.0.0~predev: no script for predev, continuing 7 info lifecycle whatsapp-web-reveng@1.0.0~dev: whatsapp-web-reveng@1.0.0 8 verbose lifecycle whatsapp-web-reveng@1.0.0~dev: unsafe-perm in lifecycle true 9 verbose lifecycle whatsapp-web-reveng@1.0.0~dev: PATH: /usr/share/npm/bin/node-gyp-bin:/var/www/html/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 10 verbose lifecycle whatsapp-web-reveng@1.0.0~dev: CWD: /var/www/html 11 silly lifecycle whatsapp-web-reveng@1.0.0~dev: Args: [ '-c', 11 silly lifecycle 'concurrently --kill-others "./node_modules/.bin/nodemon index.js -i client -e js" "./node_modules/.bin/nodemon --exec python ./backend/whatsapp_web_backend.py -i client -e py" "sass --watch client/css/main.scss:client/css/main.css" "index_jsdemo.js"' ] 12 info lifecycle whatsapp-web-reveng@1.0.0~dev: Failed to exec dev script 13 verbose stack Error: whatsapp-web-reveng@1.0.0 dev: concurrently --kill-others "./node_modules/.bin/nodemon index.js -i client -e js" "./node_modules/.bin/nodemon --exec python ./backend/whatsapp_web_backend.py -i client -e py" "sass --watch client/css/main.scss:client/css/main.css" "index_jsdemo.js" 13 verbose stack spawn ENOENT 13 verbose stack at ChildProcess. (/usr/share/npm/lib/utils/spawn.js:17:16) 13 verbose stack at emitTwo (events.js:87:13) 13 verbose stack at ChildProcess.emit (events.js:172:7) 13 verbose stack at maybeClose (internal/child_process.js:821:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5) 14 verbose pkgid whatsapp-web-reveng@1.0.0 15 verbose cwd /var/www/html 16 error Linux 4.4.38-v7+ 17 error argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "dev" "index_jsdemo.js" 18 error node v4.2.6 19 error npm v3.5.2 20 error file sh 21 error code ELIFECYCLE 22 error errno ENOENT 23 error syscall spawn 24 error whatsapp-web-reveng@1.0.0 dev: concurrently --kill-others "./node_modules/.bin/nodemon index.js -i client -e js" "./node_modules/.bin/nodemon --exec python ./backend/whatsapp_web_backend.py -i client -e py" "sass --watch client/css/main.scss:client/css/main.css" "index_jsdemo.js" 24 error spawn ENOENT 25 error Failed at the whatsapp-web-reveng@1.0.0 dev script 'concurrently --kill-others "./node_modules/.bin/nodemon index.js -i client -e js" "./node_modules/.bin/nodemon --exec python ./backend/whatsapp_web_backend.py -i client -e py" "sass --watch client/css/main.scss:client/css/main.css" "index_jsdemo.js"'. 25 error Make sure you have the latest version of node.js and npm installed. 25 error If you do, this is most likely a problem with the whatsapp-web-reveng package, 25 error not with npm itself. 25 error Tell the author that this fails on your system: 25 error concurrently --kill-others "./node_modules/.bin/nodemon index.js -i client -e js" "./node_modules/.bin/nodemon --exec python ./backend/whatsapp_web_backend.py -i client -e py" "sass --watch client/css/main.scss:client/css/main.css" "index_jsdemo.js" 25 error You can get information on how to open an issue for this project with: 25 error npm bugs whatsapp-web-reveng 25 error Or if that isn't available, you can get their info via: 25 error npm owner ls whatsapp-web-reveng 25 error There is likely additional logging output above. 26 verbose exit [ 1, true ]

This shows my console when i run npm start? I installed all pip depencies correctly and i installed all nodejs depencies correctly with npm install -f , node i installed with "apt-get install nodejs" this fetchs me the newest version i think, i make a fresh ubuntu system on my raspberry pi and this is my 10 try but it still dont will work.

PLSPLSPLSHELPHELPHELP

MikeyKraft commented 5 years ago

Sometimes it shows me: npm ERR! 404 Not found : whatsapp-web-reveng npm ERR! 404 npm ERR! 404 'whatsapp-web-reveng' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! Please include the following file with any support request: npm ERR! /var/www/html/npm-debug.log root@whatsdos-desktop:/var/www/html# npm install whatsapp-web-reveng npm ERR! Linux 4.4.38-v7+ npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "whatsapp-web-reveng" npm ERR! node v4.2.6 npm ERR! npm v3.5.2 npm ERR! code E404

npm ERR! 404 Not found : whatsapp-web-reveng npm ERR! 404 npm ERR! 404 'whatsapp-web-reveng' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.

MikeyKraft commented 5 years ago

okay this is fixed, it starts now, but doesnt work i had the feeling nothing happens....

output::

whatsapp-web-reveng@1.0.0 start /var/www/html npm run dev

whatsapp-web-reveng@1.0.0 dev /var/www/html concurrently --kill-others "./node_modules/.bin/nodemon index.js -i client -e js" "./node_modules/.bin/nodemon --exec python ./backend/whatsapp_web_backend.py -i client -e py" "sass --watch client/css/main.scss:client/css/main.css"

[1] [nodemon] 1.18.9 [1] [nodemon] to restart at any time, enter rs [1] [nodemon] watching: . [1] [nodemon] starting python ./backend/whatsapp_web_backend.py [0] [nodemon] 1.18.9 [0] [nodemon] to restart at any time, enter rs [0] [nodemon] watching: . [0] [nodemon] starting node index.js [2] Sass is watching for changes. Press Ctrl-C to stop. [2] [1] whatsapp-web-backend listening on port 2020 [0] whatsapp-web-reveng API server listening on port 2019 [0] whatsapp-web-reveng HTTP server listening on port 2018 ^C[1] Traceback (most recent call last): [1] File "./backend/whatsapp_web_backend.py", line 110, in [1] server.serveforever(); [1] File "/usr/local/lib/python2.7/dist-packages/SimpleWebSocketServer/SimpleWebSocketServer.py", line 678, in serveforever [1] self.serveonce() [1] File "/usr/local/lib/python2.7/dist-packages/SimpleWebSocketServer/SimpleWebSocketServer.py", line 618, in serveonce [1] rList, wList, xList = select(self.listeners, writers, self.listeners, self.selectInterval) [1] KeyboardInterrupt [0] ./node_modules/.bin/nodemon index.js -i client -e js exited with code null --> Sending SIGTERM to other processes.. [2] sass --watch client/css/main.scss:client/css/main.css exited with code null [1] ./node_modules/.bin/nodemon --exec python ./backend/whatsapp_web_backend.py -i client -e py exited with code null

MikeyKraft commented 5 years ago

i give up with this here. thx