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

[🐛] Problema de instalación. #1061

Open
joelgpc opened this issue May 15, 2024 · 12 comments
Open

[🐛] Problema de instalación. #1061

joelgpc opened this issue May 15, 2024 · 12 comments
Labels
bug Something isn't working

Comments

@joelgpc
Copy link

joelgpc commented May 15, 2024

¿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 request/request#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 joelgpc added the bug Something isn't working label May 15, 2024
@leifermendez
Copy link
Member

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
Copy link
Author

joelgpc commented May 15, 2024

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

@leifermendez
Copy link
Member

leifermendez commented May 15, 2024 via email

@joelgpc
Copy link
Author

joelgpc commented May 15, 2024

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
Copy link
Member

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

@leifermendez
Copy link
Member

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
Copy link
Author

joelgpc commented May 15, 2024

Ejecutado.
image
Mismo error.
image

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

@leifermendez
Copy link
Member

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

@leifermendez
Copy link
Member

Ese es el problema créalo como un proyecto solo afuera

@joelgpc
Copy link
Author

joelgpc commented May 15, 2024

Tampoco me deja entrar en el Discord.
Uploading image.png…

@joelgpc
Copy link
Author

joelgpc commented May 15, 2024

Ese es el problema créalo como un proyecto solo afuera

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

@DavidKingV
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants