clovisjohn / opensea-sniper-bot

Simple opensea bot using opensea-js
109 stars 31 forks source link

Cannot ind module 'yargs' #2

Closed G0053-Ma5t3r closed 2 years ago

G0053-Ma5t3r commented 2 years ago

Hi I am getting this error. Any idea what the issue could be?

internal/modules/cjs/loader.js:818 throw err; ^

Error: Cannot find module 'yargs' Require stack:

clovisjohn commented 2 years ago

Do you have the yargs package installed? Run this command "npm install yargs" and retry

G0053-Ma5t3r commented 2 years ago

Hey! Thanks for getting back to me so quickly. I've installed yargs now but it seems like there are quite a few other dependencies. I'm now trying to install @truffle/hdwallet-provider but I'm getting a whole heap of errors. I've attached an archive of the npm _logs directory. Best, anon

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Monday, December 13th, 2021 at 02:51, clovisjohn @.***> wrote:

Do you have the yargs package installed? Run this command "npm install yargs" and retry

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

clovisjohn commented 2 years ago

You shouldn't have to install packages manually All the required packages are specified in package.json You just have to run "npm install" in the folder containing package.json