Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

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

Open
kuldeep-1509 opened this issue Dec 10, 2022 · 5 comments
Open

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

kuldeep-1509 opened this issue Dec 10, 2022 · 5 comments

Comments

@kuldeep-1509
Copy link

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

./package.json: No license field getting this

@kuldeep-1509
Copy link
Author

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

shawnesquivel commented Dec 13, 2022

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
  1. 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
Copy link

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

@DMG-01
Copy link

DMG-01 commented May 30, 2023

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants