Cannot find package 'yargs'
Im getting this error mensage...someone can help me please?
#126
This means that the Node.js runtime tried to import the yargs package but couldn't find it in your project. This usually happens when the package isn't installed or is missing from the project's node_modules directory.
yargs package should be listed in the package.json file under the dependencies section. This file tells Node.js which packages are required for the project.
Solution
1: Make sure you're in the correct directory where package.json is located (mindcraft-main...the second one)
2: Run the following command to install all dependencies: npm install
Let me know if this resolves the issue
That outputs a problem: npm error code ENOENT npm error syscall spawn git npm error path git npm error errno -4058 npm error enoent An unknown git error occurred npm error enoent This is related to npm not being able to find a file. npm error enoent
This means you have no git installed make sure to download it from here: https://git-scm.com/downloads/win
To prevent future issues, download https://mindcraft-ce.com