builderbot icon indicating copy to clipboard operation
builderbot copied to clipboard

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

Open joelgpc opened this issue 1 year ago โ€ข 14 comments

ยฟ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

  • โ”‚ npm install
  • ~
    • CategoryInfo : ObjectNotFound: (โ”‚:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

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

npm install npm WARN deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. npm WARN deprecated [email protected]: this library is no longer supported npm WARN deprecated [email protected]: 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 [email protected]: 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

[email protected] 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

joelgpc avatar May 15 '24 16:05 joelgpc

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

leifermendez avatar May 15 '24 17:05 leifermendez

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

[email protected] dev npm run lint && nodemon ./src/app.ts

[email protected] 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

joelgpc avatar May 15 '24 19:05 joelgpc

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: @.***>

leifermendez avatar May 15 '24 20:05 leifermendez

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!

joelgpc avatar May 15 '24 20:05 joelgpc

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

leifermendez avatar May 15 '24 20:05 leifermendez

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

leifermendez avatar May 15 '24 20:05 leifermendez

Ejecutado. image Mismo error. image

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

joelgpc avatar May 15 '24 20:05 joelgpc

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

leifermendez avatar May 15 '24 20:05 leifermendez

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

leifermendez avatar May 15 '24 20:05 leifermendez

Tampoco me deja entrar en el Discord. Uploading image.pngโ€ฆ

joelgpc avatar May 15 '24 20:05 joelgpc

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

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

joelgpc avatar May 15 '24 20:05 joelgpc

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.

DavidKingV avatar May 20 '24 16:05 DavidKingV

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

heetin avatar Jun 10 '24 20:06 heetin

Puedes usar pnpm

leifermendez avatar Jun 10 '24 21:06 leifermendez