Skip to content

[Bug] - npm run dev fails due to missing npm scripts in Hardhat project #100

@DSCmatter

Description

@DSCmatter

Problem

Running npm run dev results in Missing script: "dev". The root package.json does not define any npm scripts, and Hardhat projects rely on npx hardhat by default, which is not discoverable for contributors expecting an npm-style workflow.

Root Cause

The scripts section was absent from package.json. npm only executes scripts explicitly defined there; no default dev script exists for Hardhat.

Expected Behavior

Developers should be able to start the local Hardhat development environment using a consistent, npm-style command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions