Skip to content
This repository was archived by the owner on Mar 19, 2026. It is now read-only.
This repository was archived by the owner on Mar 19, 2026. It is now read-only.

The template doesn't work #6

@hcheng826

Description

@hcheng826

The smart contract is not configured correctly. If I run npm start under /frontend directory it would throw follow errors

ERROR in ./src/components/Dapp.js 9:0-52
Module not found: Error: Can't resolve '../contracts/Token.json' in '/Users/username/web3/fhenix-dark-forest-ethglobal-sg/frontend/src/components'

ERROR in ./src/components/Dapp.js 10:0-65
Module not found: Error: Can't resolve '../contracts/contract-address.json' in '/Users/username/web3/fhenix-dark-forest-ethglobal-sg/frontend/src/components'

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