Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command SetGroupDesc #20

Closed
PrajjwalDatir opened this issue Aug 23, 2021 · 8 comments
Closed

Command SetGroupDesc #20

PrajjwalDatir opened this issue Aug 23, 2021 · 8 comments
Assignees
Labels
command Request good first issue Good for newcomers Hacktoberfest PRs are accepted for https://hacktoberfest.digitalocean.com/

Comments

@PrajjwalDatir
Copy link
Owner

https://adiwajshing.github.io/Baileys/classes/waconnection.html#groupupdatedescription

@PrajjwalDatir PrajjwalDatir added the Hacktoberfest PRs are accepted for https://hacktoberfest.digitalocean.com/ label Sep 19, 2021
@princeprag
Copy link

@PrajjwalDatir So, can i work on it?

@PrajjwalDatir
Copy link
Owner Author

Yes go on @princeprag

@PrajjwalDatir
Copy link
Owner Author

@princeprag Did you reached something yet?

@princeprag
Copy link

Onto it @PrajjwalDatir!

@princeprag
Copy link

@PrajjwalDatir I am facing issues in doing the local setup.. The command yarn install --frozen--lockfile is failing..

yarn install v1.22.15
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning Workspaces can only be enabled in private projects.
[4/4] Building fresh packages...
[-/4] ⠠ waiting...
[2/4] ⠠ canvas
[3/4] ⠠ re2
error D:\Hacktoberfest\Kaoi\node_modules\re2: Command failed.
Exit code: 1
Command: install-from-cache --artifact build/Release/re2.node --host-var RE2_DOWNLOAD_MIRROR
Arguments:
Directory: D:\Hacktoberfest\Kaoi\node_modules\re2
Output:
Trying https://github.com/uhop/node-re2/releases/download/1.15.4/win32-x64-93.br ...
Trying https://github.com/uhop/node-re2/releases/download/1.15.4/win32-x64-93.gz ...
Building locally ...

> re2@1.15.4 rebuild
> node-gyp rebuild

gyp info it worked if it ends with ok
gyp info using node-gyp@7.1.2
gyp info using node@16.9.1 | win32 | x64
gyp info find Python using Python version 3.9.6 found at "D:\Python\Python39\python.exe"
gyp ERR! find VS
gyp ERR! find VS msvs_version not set from command line or npm config
gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details
gyp ERR! find VS looking for Visual Studio 2015
gyp ERR! find VS - not found
gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
gyp ERR! find VS
gyp ERR! find VS **************************************************************
gyp ERR! find VS You need to install the latest version of Visual Studio
gyp ERR! find VS including the "Desktop development with C++" workload.
gyp ERR! find VS For more information consult the documentation at:
gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
gyp ERR! find VS **************************************************************
gyp ERR! find VS
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Visual Studio installation to use
gyp ERR! stack     at VisualStudioFinder.fail (D:\Hacktoberfest\Kaoi\node_modules\node-gyp\lib\find-visualstudio.js:121:47)
gyp ERR! stack     at D:\Hacktoberfest\Kaoi\node_modules\node-gyp\lib\find-visualstudio.js:74:16
gyp ERR! stack     at VisualStudioFinder.findVisualStudio2013 (D:\Hacktoberfest\Kaoi\node_modules\node-gyp\lib\find-visualstudio.js:351:14)
gyp ERR! stack     at D:\Hacktoberfest\Kaoi\node_modules\node-gyp\lib\find-visualstudio.js:70:14
gyp ERR! stack     at D:\Hacktoberfest\Kaoi\node_modules\node-gyp\lib\find-visualstudio.js:372:16
gyp ERR! stack     at D:\Hacktoberfest\Kaoi\node_modules\node-gyp\lib\util.js:54:7
gyp ERR! stack     at D:\Hacktoberfest\Kaoi\node_modules\node-gyp\lib\util.js:33:16
gyp ERR! stack     at ChildProcess.exithandler (node:child_process:404:5)
gyp ERR! stack     at ChildProcess.emit (node:events:394:28)
gyp ERR! stack     at maybeClose (node:internal/child_process:1064:16)
gyp ERR! System Windows_NT 10.0.19043
gyp ERR! command "D:\\Program Files\\nodejs\\node.exe" "D:\\Hacktoberfest\\Kaoi\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\Hacktoberfest\Kaoi\node_modules\re2
gyp ERR! node -v v16.9.1
gyp ERR! node-gyp -v v7.1.2
gyp ERR! not ok
node:internal/process/promises:246
          triggerUncaughtException(err, true /* fromPromise */);
          ^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). T
he promise rejected with the reason "1".] {

Can you please help me with this.

@PrajjwalDatir
Copy link
Owner Author

@princeprag I tried setting up stuff at my end again, And it works !

Can you please try it again? If the command still doesn't work then

  • delete the yarn.lock file
  • run yarn install

And follow the next steps as per readme.

Regarding the issue :
It appears that it's a part of node-gyp package.
@alensaito1 can you have a look at this?
( maybe this )

@AlenVelocity
Copy link

@princeprag run npm i -g windows-build-tools in an admin powershell and try again

@PrajjwalDatir
Copy link
Owner Author

1b68cbd Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command Request good first issue Good for newcomers Hacktoberfest PRs are accepted for https://hacktoberfest.digitalocean.com/
Projects
None yet
Development

No branches or pull requests

3 participants