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

--init fails in adding type: module when using yarn #6372

Closed
ChristopherDedominici opened this issue Feb 20, 2025 · 0 comments · Fixed by #6371
Closed

--init fails in adding type: module when using yarn #6372

ChristopherDedominici opened this issue Feb 20, 2025 · 0 comments · Fixed by #6371
Assignees
Labels
hardhat-3-alpha Feedback about the Hardhat 3 Alpha status:triaging v-next A Hardhat v3 development task

Comments

@ChristopherDedominici
Copy link
Contributor

Version of Hardhat

3.0.0-next.23

What happened?

When using yarn to initialize a new project with --init without having the type: module property set in package.json, you'll be prompted to add it. If you choose yes, the process will fail.

Minimal reproduction steps

When using yarn to initialize a new project with --init without having the type: module property set in package.json, you'll be prompted to add it. If you choose yes, the process will fail.

Search terms

No response

@ChristopherDedominici ChristopherDedominici added hardhat-3-alpha Feedback about the Hardhat 3 Alpha v-next A Hardhat v3 development task labels Feb 20, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Hardhat Feb 20, 2025
@github-project-automation github-project-automation bot moved this from Backlog to Done in Hardhat Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hardhat-3-alpha Feedback about the Hardhat 3 Alpha status:triaging v-next A Hardhat v3 development task
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants