דילוג לתוכן
  • חוקי הפורום
  • פופולרי
  • לא נפתר
  • משתמשים
  • חיפוש גוגל בפורום
  • צור קשר
עיצובים
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • ברירת מחדל (ללא עיצוב (ברירת מחדל))
  • ללא עיצוב (ברירת מחדל)
כיווץ
לוגו מותג
  1. דף הבית
  2. מחשבים וטכנולוגיה
  3. עזרה הדדית - מחשבים וטכנולוגיה
  4. עזרה | עזרה עם whatsapp-web.js

עזרה | עזרה עם whatsapp-web.js

מתוזמן נעוץ נעול הועבר עזרה הדדית - מחשבים וטכנולוגיה
10 פוסטים 2 כותבים 241 צפיות 2 עוקבים
  • מהישן לחדש
  • מהחדש לישן
  • הכי הרבה הצבעות
תגובה
  • תגובה כנושא
התחברו כדי לפרסם תגובה
נושא זה נמחק. רק משתמשים עם הרשאות מתאימות יוכלו לצפות בו.
  • E מנותק
    E מנותק
    EMG
    כתב ב נערך לאחרונה על ידי
    #1

    אני מנסה כבר הרבה זמן להשתמש בספריה whatsapp-web.js אם מישהו מכיר ויוכל לעזור לי אשמח לעזרה
    יש לי שרת לינוקס התקנתי עליו לפי המדרים שם ואני לא מצליח להגיע למצב שמביא לי את הקוד qr
    כל פעם משהו אחר מסתבך ולמען האמת אני לא כ"כ מבין ב nodejs
    אם מישהו התנסה אשמח לעזרה
    תודה רבה !

    LEVI HL תגובה 1 תגובה אחרונה
    0
    • E EMG

      אני מנסה כבר הרבה זמן להשתמש בספריה whatsapp-web.js אם מישהו מכיר ויוכל לעזור לי אשמח לעזרה
      יש לי שרת לינוקס התקנתי עליו לפי המדרים שם ואני לא מצליח להגיע למצב שמביא לי את הקוד qr
      כל פעם משהו אחר מסתבך ולמען האמת אני לא כ"כ מבין ב nodejs
      אם מישהו התנסה אשמח לעזרה
      תודה רבה !

      LEVI HL מנותק
      LEVI HL מנותק
      LEVI H
      מדריכים
      כתב ב נערך לאחרונה על ידי
      #2

      @EMG איפה נתקעת?

      E תגובה 1 תגובה אחרונה
      0
      • LEVI HL LEVI H

        @EMG איפה נתקעת?

        E מנותק
        E מנותק
        EMG
        כתב ב נערך לאחרונה על ידי
        #3

        @LEVI-H דבר ראשון אני עושה את כל ההתקנה עם משתמש root או רגיל ?
        (עשיתי גם וגם והסתבכתי )

        LEVI HL תגובה 1 תגובה אחרונה
        0
        • E EMG

          @LEVI-H דבר ראשון אני עושה את כל ההתקנה עם משתמש root או רגיל ?
          (עשיתי גם וגם והסתבכתי )

          LEVI HL מנותק
          LEVI HL מנותק
          LEVI H
          מדריכים
          כתב ב נערך לאחרונה על ידי
          #4

          @EMG עדיף עם משתמש רגיל, שפשוט יש לו הרשאת sudo

          E 2 תגובות תגובה אחרונה
          0
          • LEVI HL LEVI H

            @EMG עדיף עם משתמש רגיל, שפשוט יש לו הרשאת sudo

            E מנותק
            E מנותק
            EMG
            כתב ב נערך לאחרונה על ידי EMG
            #5

            @LEVI-H אני צריך להיות בתיקיה מסוימת
            כי הרצתי עם משתמש רגיל ופתאום כותב לי ש

            Uncaught Error: Cannot find module 'whatsapp-web.js'

            ואני לא מבין התקנתי אותו כבר אז התקנתי שוב ואז מביא לי

            npm WARN deprecated puppeteer@13.7.0: < 19.4.0 is no longer supported
            npm WARN checkPermissions Missing write access to /var/www/html/yemot/whatsapp-web/node_modules
            npm WARN whatsapp-web@1.0.0 No description
            npm WARN whatsapp-web@1.0.0 No repository field.

            npm ERR! code EACCES
            npm ERR! syscall access
            npm ERR! path /var/www/html/yemot/whatsapp-web/node_modules
            npm ERR! errno -13
            npm ERR! Error: EACCES: permission denied, access '/var/www/html/yemot/whatsapp-web/node_modules'
            npm ERR! [Error: EACCES: permission denied, access '/var/www/html/yemot/whatsapp-web/node_modules'] {
            npm ERR! errno: -13,
            npm ERR! code: 'EACCES',
            npm ERR! syscall: 'access',
            npm ERR! path: '/var/www/html/yemot/whatsapp-web/node_modules'
            npm ERR! }
            npm ERR!
            npm ERR! The operation was rejected by your operating system.
            npm ERR! It is likely you do not have the permissions to access this file as the current user
            npm ERR!
            npm ERR! If you believe this might be a permissions issue, please double-check the
            npm ERR! permissions of the file and its containing directories, or try running
            npm ERR! the command again as root/Administrator.

            npm ERR! A complete log of this run can be found in:
            npm ERR! /home/meir/.npm/_logs/2023-04-18T15_30_39_640Z-debug.log

            LEVI HL תגובה 1 תגובה אחרונה
            0
            • E EMG

              @LEVI-H אני צריך להיות בתיקיה מסוימת
              כי הרצתי עם משתמש רגיל ופתאום כותב לי ש

              Uncaught Error: Cannot find module 'whatsapp-web.js'

              ואני לא מבין התקנתי אותו כבר אז התקנתי שוב ואז מביא לי

              npm WARN deprecated puppeteer@13.7.0: < 19.4.0 is no longer supported
              npm WARN checkPermissions Missing write access to /var/www/html/yemot/whatsapp-web/node_modules
              npm WARN whatsapp-web@1.0.0 No description
              npm WARN whatsapp-web@1.0.0 No repository field.

              npm ERR! code EACCES
              npm ERR! syscall access
              npm ERR! path /var/www/html/yemot/whatsapp-web/node_modules
              npm ERR! errno -13
              npm ERR! Error: EACCES: permission denied, access '/var/www/html/yemot/whatsapp-web/node_modules'
              npm ERR! [Error: EACCES: permission denied, access '/var/www/html/yemot/whatsapp-web/node_modules'] {
              npm ERR! errno: -13,
              npm ERR! code: 'EACCES',
              npm ERR! syscall: 'access',
              npm ERR! path: '/var/www/html/yemot/whatsapp-web/node_modules'
              npm ERR! }
              npm ERR!
              npm ERR! The operation was rejected by your operating system.
              npm ERR! It is likely you do not have the permissions to access this file as the current user
              npm ERR!
              npm ERR! If you believe this might be a permissions issue, please double-check the
              npm ERR! permissions of the file and its containing directories, or try running
              npm ERR! the command again as root/Administrator.

              npm ERR! A complete log of this run can be found in:
              npm ERR! /home/meir/.npm/_logs/2023-04-18T15_30_39_640Z-debug.log

              LEVI HL מנותק
              LEVI HL מנותק
              LEVI H
              מדריכים
              כתב ב נערך לאחרונה על ידי
              #6

              @EMG כתב בעזרה | עזרה עם whatsapp-web.js:

              Uncaught Error: Cannot find module 'whatsapp-web.js'
              ואני לא מבין התקנתי אותו כבר אז התקנתי שוב ואז מביא לי
              npm WARN deprecated puppeteer@13.7.0: < 19.4.0 is no longer supported
              npm WARN checkPermissions Missing write access to /var/www/html/yemot/whatsapp-web/node_modules
              npm WARN whatsapp-web@1.0.0 No description
              npm WARN whatsapp-web@1.0.0 No repository field.
              npm ERR! code EACCES
              npm ERR! syscall access
              npm ERR! path /var/www/html/yemot/whatsapp-web/node_modules
              npm ERR! errno -13
              npm ERR! Error: EACCES: permission denied, access '/var/www/html/yemot/whatsapp-web/node_modules'
              npm ERR! [Error: EACCES: permission denied, access '/var/www/html/yemot/whatsapp-web/node_modules'] {
              npm ERR! errno: -13,
              npm ERR! code: 'EACCES',
              npm ERR! syscall: 'access',
              npm ERR! path: '/var/www/html/yemot/whatsapp-web/node_modules'
              npm ERR! }
              npm ERR!
              npm ERR! The operation was rejected by your operating system.
              npm ERR! It is likely you do not have the permissions to access this file as the current user
              npm ERR!
              npm ERR! If you believe this might be a permissions issue, please double-check the
              npm ERR! permissions of the file and its containing directories, or try running
              npm ERR! the command again as root/Administrator.
              npm ERR! A complete log of this run can be found in:
              npm ERR! /home/meir/.npm/_logs/2023-04-18T15_30_39_640Z-debug.log

              לשגיאה הזו: Uncaught Error: Cannot find module 'whatsapp-web.js'
              איך הגעת?

              E 2 תגובות תגובה אחרונה
              0
              • LEVI HL LEVI H

                @EMG עדיף עם משתמש רגיל, שפשוט יש לו הרשאת sudo

                E מנותק
                E מנותק
                EMG
                כתב ב נערך לאחרונה על ידי
                #7

                @LEVI-H הרצתי ב node
                .load /var/www/html/yemot/whatsapp-web/index.js

                וזה הקובץ:

                const { Client } = require('whatsapp-web.js');
                const client = new Client();
                
                client.on('qr', (qr) => {
                    console.log('QR RECEIVED', qr);
                });
                
                client.on('ready', () => {
                    console.log('Client is ready!');
                });
                
                client.initialize();
                
                
                תגובה 1 תגובה אחרונה
                0
                • LEVI HL LEVI H

                  @EMG כתב בעזרה | עזרה עם whatsapp-web.js:

                  Uncaught Error: Cannot find module 'whatsapp-web.js'
                  ואני לא מבין התקנתי אותו כבר אז התקנתי שוב ואז מביא לי
                  npm WARN deprecated puppeteer@13.7.0: < 19.4.0 is no longer supported
                  npm WARN checkPermissions Missing write access to /var/www/html/yemot/whatsapp-web/node_modules
                  npm WARN whatsapp-web@1.0.0 No description
                  npm WARN whatsapp-web@1.0.0 No repository field.
                  npm ERR! code EACCES
                  npm ERR! syscall access
                  npm ERR! path /var/www/html/yemot/whatsapp-web/node_modules
                  npm ERR! errno -13
                  npm ERR! Error: EACCES: permission denied, access '/var/www/html/yemot/whatsapp-web/node_modules'
                  npm ERR! [Error: EACCES: permission denied, access '/var/www/html/yemot/whatsapp-web/node_modules'] {
                  npm ERR! errno: -13,
                  npm ERR! code: 'EACCES',
                  npm ERR! syscall: 'access',
                  npm ERR! path: '/var/www/html/yemot/whatsapp-web/node_modules'
                  npm ERR! }
                  npm ERR!
                  npm ERR! The operation was rejected by your operating system.
                  npm ERR! It is likely you do not have the permissions to access this file as the current user
                  npm ERR!
                  npm ERR! If you believe this might be a permissions issue, please double-check the
                  npm ERR! permissions of the file and its containing directories, or try running
                  npm ERR! the command again as root/Administrator.
                  npm ERR! A complete log of this run can be found in:
                  npm ERR! /home/meir/.npm/_logs/2023-04-18T15_30_39_640Z-debug.log

                  לשגיאה הזו: Uncaught Error: Cannot find module 'whatsapp-web.js'
                  איך הגעת?

                  E מנותק
                  E מנותק
                  EMG
                  כתב ב נערך לאחרונה על ידי
                  #8

                  @LEVI-H עכשיו הרצתי שוב וזה מה שהחזיר
                  Uncaught SyntaxError: Identifier 'Client' has already been declared

                  זה אחרי שהתקנתי עוד פעם עם sudo

                  תגובה 1 תגובה אחרונה
                  0
                  • LEVI HL LEVI H

                    @EMG כתב בעזרה | עזרה עם whatsapp-web.js:

                    Uncaught Error: Cannot find module 'whatsapp-web.js'
                    ואני לא מבין התקנתי אותו כבר אז התקנתי שוב ואז מביא לי
                    npm WARN deprecated puppeteer@13.7.0: < 19.4.0 is no longer supported
                    npm WARN checkPermissions Missing write access to /var/www/html/yemot/whatsapp-web/node_modules
                    npm WARN whatsapp-web@1.0.0 No description
                    npm WARN whatsapp-web@1.0.0 No repository field.
                    npm ERR! code EACCES
                    npm ERR! syscall access
                    npm ERR! path /var/www/html/yemot/whatsapp-web/node_modules
                    npm ERR! errno -13
                    npm ERR! Error: EACCES: permission denied, access '/var/www/html/yemot/whatsapp-web/node_modules'
                    npm ERR! [Error: EACCES: permission denied, access '/var/www/html/yemot/whatsapp-web/node_modules'] {
                    npm ERR! errno: -13,
                    npm ERR! code: 'EACCES',
                    npm ERR! syscall: 'access',
                    npm ERR! path: '/var/www/html/yemot/whatsapp-web/node_modules'
                    npm ERR! }
                    npm ERR!
                    npm ERR! The operation was rejected by your operating system.
                    npm ERR! It is likely you do not have the permissions to access this file as the current user
                    npm ERR!
                    npm ERR! If you believe this might be a permissions issue, please double-check the
                    npm ERR! permissions of the file and its containing directories, or try running
                    npm ERR! the command again as root/Administrator.
                    npm ERR! A complete log of this run can be found in:
                    npm ERR! /home/meir/.npm/_logs/2023-04-18T15_30_39_640Z-debug.log

                    לשגיאה הזו: Uncaught Error: Cannot find module 'whatsapp-web.js'
                    איך הגעת?

                    E מנותק
                    E מנותק
                    EMG
                    כתב ב נערך לאחרונה על ידי
                    #9

                    @LEVI-H אני לא מבין איך מחזיר לי את השגיאה
                    Uncaught SyntaxError: Identifier 'Client' has already been declared

                    שזה אומר ש client כבר הוכרז מצד שני כשאני מריץ בלי שתי השורות הראשונות מחזיר לי
                    Uncaught ReferenceError: client is not define

                    שזה אומר ש client לא הוכרז ?

                    E תגובה 1 תגובה אחרונה
                    0
                    • E EMG

                      @LEVI-H אני לא מבין איך מחזיר לי את השגיאה
                      Uncaught SyntaxError: Identifier 'Client' has already been declared

                      שזה אומר ש client כבר הוכרז מצד שני כשאני מריץ בלי שתי השורות הראשונות מחזיר לי
                      Uncaught ReferenceError: client is not define

                      שזה אומר ש client לא הוכרז ?

                      E מנותק
                      E מנותק
                      EMG
                      כתב ב נערך לאחרונה על ידי EMG
                      #10

                      זה מתסכל ניסתי הרבה זמן עכשיו עשיתי בטרמינל של vsc ועובד מצוין ממה יכולה לנבוע הבעיה ?

                      תגובה 1 תגובה אחרונה
                      0

                      • התחברות

                      • אין לך חשבון עדיין? הרשמה

                      • התחברו או הירשמו כדי לחפש.
                      • פוסט ראשון
                        פוסט אחרון
                      0
                      • חוקי הפורום
                      • פופולרי
                      • לא נפתר
                      • משתמשים
                      • חיפוש גוגל בפורום
                      • צור קשר