codigoencasa / bot-whatsapp

๐Ÿค– Crear Chatbot WhatsApp en minutos. รšnete a este proyecto OpenSource (Typescript Version Pronto)
https://bot-whatsapp.netlify.app
MIT License
2.18k stars 765 forks source link

[๐Ÿ›] Problema de instalaciรณn. #1061

Open joelgpc opened 1 month ago

joelgpc commented 1 month ago

ยฟQue versiรณn estas usando?

v2

ยฟSobre que afecta?

Otro

Describe tu problema

He intentado de todo, llevo 4 horas y no encuentro la soluciรณn, me podรฉis ayudar? โ”Œ Vamos a crear un Chatbot โœจ โ”‚ โ—‡ ยฟQuieres continuar? โ”‚ Yes โ”‚ โ—‡ ยฟCuรกl proveedor de whatsapp quieres utilizar? โ”‚ Baileys โ”‚ โ—‡ ยฟCuรกl base de datos quieres utilizar? โ”‚ Memory โ”‚ โ—‡ Comprobando requerimientos โ”‚ โ”‚ โ—‡ Creando proyecto โ”‚ โ—‡ Instrucciones: โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ โ”‚ โ”‚ cd base-baileys-memory โ”‚ โ”‚ npm install โ”‚ โ”‚ npm start โ”‚ โ”‚ โ”‚ โ”‚ https://bot-whatsapp.netlify.app โ”‚ โ”‚ โ”‚ โ”‚ ๐Ÿค– ยฟProblemas? รšnete: โ”‚ โ”‚ https://link.codigoencasa.com/DISCORD โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ โ”‚ โ”” Finalizado correctamente!

PS C:\Users\joel_\source\repos\botWhatsapp-1> cd base-baileys-memory โ”‚

โ”‚ npm install Set-Location : No se encuentra ningรบn parรกmetro de posiciรณn que acepte el argumento 'โ”‚'. En lรญnea: 1 Carรกcter: 1

  • cd base-baileys-memory โ”‚
  • CategoryInfo : InvalidArgument: (:) [Set-Location], ParameterBindingException

โ”‚ : El tรฉrmino 'โ”‚' no se reconoce como nombre de un cmdlet, funciรณn, archivo de script o programa ejecutable. Compruebe si escribiรณ correctamente el nombre o, si incluyรณ una ruta de acceso, compruebe que dicha ruta es
correcta e intรฉntelo de nuevo. En lรญnea: 2 Carรกcter: 1

PS C:\Users\joel_\source\repos\botWhatsapp-1> cd base-baileys-memory

npm install npm WARN deprecated phin@2.9.3: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

added 481 packages, and audited 482 packages in 1m

51 packages are looking for funding

15 vulnerabilities (6 moderate, 7 high, 2 critical)

To address issues that do not require attention, run: npm audit fix

To address all issues (including breaking changes), run: npm audit fix --force

Run npm audit for details. PS C:\Users\joel_\source\repos\botWhatsapp-1\base-baileys-memory> npm start

base-bailey-memory@1.0.0 prestart npx eslint . --no-ignore

Oops! Something went wrong! :(

ESLint: 8.57.0

ESLint couldn't find the plugin "eslint-plugin-bot-whatsapp".

(The package "eslint-plugin-bot-whatsapp" was not found when loaded as a Node module from the directory "C:\Users\joel_\source\repos\botWhatsapp-1".)

It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:

npm install eslint-plugin-bot-whatsapp@latest --save-dev

The plugin "eslint-plugin-bot-whatsapp" was referenced from the config file in "...eslintrc.js".

If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.

PS C:\Users\joel_\source\repos\botWhatsapp-1\base-baileys-memory>

image

Reproducir error

No response

Informaciรณn Adicional

No response

leifermendez commented 1 month ago

Buenas puede ser una versiones de tu Node pero te invito a mirar builderbot.app es lo mismo pero con otro nombre que estamos por temas de marketing

joelgpc commented 1 month ago

Me sigue pasando lo mismo.

โ”Œ Let's create a Chatbot v1.1.5 โœจ โ”‚ โ—‡ Do you want to continue? โ”‚ Yes โ”‚ โ—‡ Which WhatsApp provider do you want to use? โ”‚ Baileys โ”‚ โ—‡ Which database do you want to use? โ”‚ Memory โ”‚ โ—‡ Which language do you prefer to use? โ”‚ TypeScript โ”‚ โ—‡ Checking requirements โ”‚ โ—‡ Creating project... โ”‚ โ—‡ Instructions: โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ โ”‚ โ”‚ cd base-ts-baileys-memory โ”‚ โ”‚ npm install โ”‚ โ”‚ npm run dev โ”‚ โ”‚ ๐Ÿ“„ Documentation: โ”‚ โ”‚ https://builderbot.vercel.app โ”‚ โ”‚ โ”‚ โ”‚ ๐Ÿค– Issues? Join: โ”‚ โ”‚ https://link.codigoencasa.com/DISCORD โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ โ”‚ โ”” Successfully completed!

PS C:\Users\joel_\source\repos\documentation> cd base-ts-baileys-memory

added 372 packages, and audited 373 packages in 54s

โ”Œ Let's create a Chatbot v1.1.5 โœจ โ”‚ โ—‡ Do you want to continue? โ”‚ Yes โ”‚ โ—‡ Which WhatsApp provider do you want to use? โ”‚ Baileys โ”‚ โ—‡ Which database do you want to use? โ”‚ Memory โ”‚ โ—‡ Which language do you prefer to use? โ”‚ TypeScript โ”‚ โ—‡ Checking requirements โ”‚ โ—‡ Creating project... โ”‚ โ—‡ Instructions: โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ โ”‚ โ”‚ cd base-ts-baileys-memory โ”‚ โ”‚ npm install โ”‚ โ”‚ npm run dev โ”‚ โ”‚ โ”‚ โ”‚ ๐Ÿ“„ Documentation: โ”‚ โ”‚ https://builderbot.vercel.app โ”‚ โ”‚ ๐Ÿค– Issues? Join: โ”‚ โ”‚ https://link.codigoencasa.com/DISCORD โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ โ”‚ โ”” Successfully completed!

PS C:\Users\joel\source\repos\documentation\base-ts-baileys-memory> cd base-ts-baileys-memory PS C:\Users\joel\source\repos\documentation\base-ts-baileys-memory\base-ts-baileys-memory> npm install

added 372 packages, and audited 373 packages in 16s

81 packages are looking for funding run npm fund for details

found 0 vulnerabilities PS C:\Users\joel_\source\repos\documentation\base-ts-baileys-memory\base-ts-baileys-memory> npm run dev

base-bailey-json@1.0.0 dev npm run lint && nodemon ./src/app.ts

base-bailey-json@1.0.0 lint eslint . --no-ignore

Oops! Something went wrong! :(

ESLint: 8.57.0

ESLint couldn't find the plugin "eslint-plugin-prettier".

(The package "eslint-plugin-prettier" was not found when loaded as a Node module from the directory "C:\Users\joel_\source\repos\documentation".)

It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:

npm install eslint-plugin-prettier@latest --save-dev

The plugin "eslint-plugin-prettier" was referenced from the config file in ".....eslintrc.js".

If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.

PS C:\Users\joel_\source\repos\documentation\base-ts-baileys-memory\base-ts-baileys-memory>

image

leifermendez commented 1 month ago

Veo algo raro en tu proyecto create una carpeta nueva porque lo que envรญas que dice base-baily se ve raro

On Wed, May 15, 2024, 13:57 joelgpc @.***> wrote:

Me sigue pasando lo mismo.

โ”Œ Let's create a Chatbot v1.1.5 โœจ โ”‚ โ—‡ Do you want to continue? โ”‚ Yes โ”‚ โ—‡ Which WhatsApp provider do you want to use? โ”‚ Baileys โ”‚ โ—‡ Which database do you want to use? โ”‚ Memory โ”‚ โ—‡ Which language do you prefer to use? โ”‚ TypeScript โ”‚ โ—‡ Checking requirements โ”‚ โ—‡ Creating project... โ”‚ โ—‡ Instructions: โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ โ”‚ โ”‚ cd base-ts-baileys-memory โ”‚ โ”‚ npm install โ”‚ โ”‚ npm run dev โ”‚ โ”‚ ๐Ÿ“„ Documentation: โ”‚ โ”‚ https://builderbot.vercel.app โ”‚ โ”‚ โ”‚ โ”‚ ๐Ÿค– Issues? Join: โ”‚ โ”‚ https://link.codigoencasa.com/DISCORD โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ โ”‚ โ”” Successfully completed!

PS C:\Users\joel_\source\repos\documentation> cd base-ts-baileys-memory

added 372 packages, and audited 373 packages in 54s

โ”Œ Let's create a Chatbot v1.1.5 โœจ โ”‚ โ—‡ Do you want to continue? โ”‚ Yes โ”‚ โ—‡ Which WhatsApp provider do you want to use? โ”‚ Baileys โ”‚ โ—‡ Which database do you want to use? โ”‚ Memory โ”‚ โ—‡ Which language do you prefer to use? โ”‚ TypeScript โ”‚ โ—‡ Checking requirements โ”‚ โ—‡ Creating project... โ”‚ โ—‡ Instructions: โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ โ”‚ โ”‚ cd base-ts-baileys-memory โ”‚ โ”‚ npm install โ”‚ โ”‚ npm run dev โ”‚ โ”‚ โ”‚ โ”‚ ๐Ÿ“„ Documentation: โ”‚ โ”‚ https://builderbot.vercel.app โ”‚ โ”‚ ๐Ÿค– Issues? Join: โ”‚ โ”‚ https://link.codigoencasa.com/DISCORD โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ โ”‚ โ”” Successfully completed!

PS C:\Users\joel\source\repos\documentation\base-ts-baileys-memory> cd base-ts-baileys-memory PS C:\Users\joel\source\repos\documentation\base-ts-baileys-memory\base-ts-baileys-memory> npm install

added 372 packages, and audited 373 packages in 16s

81 packages are looking for funding run npm fund for details

found 0 vulnerabilities PS C:\Users\joel_\source\repos\documentation\base-ts-baileys-memory\base-ts-baileys-memory> npm run dev

@.*** dev npm run lint && nodemon ./src/app.ts

@.*** lint eslint . --no-ignore

Oops! Something went wrong! :(

ESLint: 8.57.0

ESLint couldn't find the plugin "eslint-plugin-prettier".

(The package "eslint-plugin-prettier" was not found when loaded as a Node module from the directory "C:\Users\joel_\source\repos\documentation".)

It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:

npm install @.*** --save-dev

The plugin "eslint-plugin-prettier" was referenced from the config file in ".....eslintrc.js".

If you still can't figure out the problem, please stop by https://eslint.org/chat/help to chat with the team.

PS C:\Users\joel_\source\repos\documentation\base-ts-baileys-memory\base-ts-baileys-memory>

image.png (view on web) https://github.com/codigoencasa/bot-whatsapp/assets/169929351/d4a94356-a948-418c-a903-521c48c2a2fa

โ€” Reply to this email directly, view it on GitHub https://github.com/codigoencasa/bot-whatsapp/issues/1061#issuecomment-2113352142, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADYR77QH3XJAUNE2BMXTCALZCO42DAVCNFSM6AAAAABHYRKPG6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJTGM2TEMJUGI . You are receiving this because you commented.Message ID: @.***>

joelgpc commented 1 month ago

Voy paso a paso, desde cero. image Instalaciรณn: Creo que se crea un contendor nuevo al instalarlo como puedes observar. image Instalaciรณn completa al parecer: image Otra vez el error: image

Ayuda por favor!

leifermendez commented 1 month ago

Ok perfecto ejecuta ese comando que te sale en el รบltimo screenshot donde dice ejecutar

leifermendez commented 1 month ago

Si el error persiste รบnete al grupo de discord https://link.codigoencasa.com/DISCORD por discord es el canal oficial para este tipo de cosas

joelgpc commented 1 month ago

Ejecutado. image Mismo error. image

Voy al discord porque llevo todo el dรญa en esto :D

leifermendez commented 1 month ago

Pero ya va veo que tienes el proyecto metido en otro proyecto de Next

leifermendez commented 1 month ago

Ese es el problema crรฉalo como un proyecto solo afuera

joelgpc commented 1 month ago

Tampoco me deja entrar en el Discord. ![Uploading image.pngโ€ฆ]()

joelgpc commented 1 month ago

Ese es el problema crรฉalo como un proyecto solo afuera

Perdona mi ignorancia, pero como creo el proyecto solo afuera?

DavidKingV commented 1 month ago

Ese es el problema crรฉalo como un proyecto solo afuera

Perdona mi ignorancia, pero como creo el proyecto solo afuera?

Ya intentaste usandpo pnpm? Yo intentaba con npm y siempre habia errores. Cambie a pnpm y funciona correctamente.

heetin commented 2 weeks ago

Hola buenas tardes! Tengo el mismo error, como pudiste solucionarlo?

leifermendez commented 2 weeks ago

Puedes usar pnpm