PatrickAlphaC / hardhat-fund-me-fcc

82 stars 183 forks source link

I am not getting option of create basic project and #117

Open kuldeep-1509 opened 1 year ago

kuldeep-1509 commented 1 year ago

I am not getting an option to create a basic project and that big logo of hardhat. also files are not adding also

kuldeep-1509 commented 1 year ago

./package.json: No license field getting this

kuldeep-1509 commented 1 year ago

warning package.json: No license field warning ../package.json: No license field warning ../../package.json: No license field $ /root/hh-fcc/hardhat-fund-me-fcc/hardhat-fund-me-fcc/node_modules/.bin/hardhat Hardhat version 2.8.3

Usage: hardhat [GLOBAL OPTIONS] [TASK OPTIONS]

GLOBAL OPTIONS:

--config A Hardhat config file. --emoji Use emoji in messages. --help Shows this message, or a task's help if its name is provided --max-memory The maximum amount of memory that Hardhat can use. --network The network to connect to. --show-stack-traces Show stack traces. --tsconfig A TypeScript config file. --verbose Enables Hardhat verbose logging --version Shows hardhat's version.

AVAILABLE TASKS:

check Check whatever you need clean Clears the cache and deletes all artifacts compile Compiles the entire project, building all artifacts console Opens a hardhat console coverage Generates a code coverage report for tests deploy Deploy contracts etherscan-verify submit contract source code to etherscan export export contract deployment of the specified network into one file export-artifacts
flatten Flattens and prints contracts and their dependencies gas-reporter:merge help Prints this message node Starts a JSON-RPC server on top of Hardhat EVM run Runs a user-defined script after compiling the project sourcify submit contract source code to sourcify (https://sourcify.dev) test Runs mocha tests verify Verifies contract on Etherscan

To get help for a specific task run: npx hardhat help [task] getting this but not that create basic project and big hardhat logo

shawnesquivel commented 1 year ago

assuming you have followed the steps to run LINUX on the windows environment (see the https://github.com/smartcontractkit/full-blockchain-solidity-course-js#installation--setup)

  1. Start from a new folder with nothing inside it
  2. Type into Command Line
    yarn add --dev hardhat
  3. Type into command line
    yarn hardhat

The dependencies appear for me as this image

If this doesn't work, try typing into the cmd line

yarn hardhat --verbose

This will check where you have hardhat.config.js files running elsewhere which should be deleted. Additionally, if you have a

 yarn hardhat node

running in another project, I would stop that instance as well just to be safe (CMD + C or CTRL + C).

mtkonopka commented 1 year ago

Shawn, getting same as above, but there is no option to create an advanced project. Marcin

DMG-01 commented 1 year ago

I am not getting an option to create a basic project and that big logo of hardhat. also files are not adding also

run this in your terminal mkdir project name cd project name code . // a new window would open after typing this npm init --yes npm install --save-dev hardhat npx hardhat