Skip to content

ReferenceError: require is not defined #40

@saikatharryc

Description

@saikatharryc

trying out the same method step by step,
Composer version: v0.20.8
getting this error:


➜  dist git:(master) ✗ composer network start --networkName my-network  --networkVersion 0.0.1 --networkAdmin admin --networkAdminEnrollSecret adminpw --card PeerAdmin@hlfv1 --file networkadmin.card
Starting business network my-network at version 0.0.1

Processing these Network Admins: 
	userName: admin

✖ Starting business network definition. This may take a minute...
Error: Error trying to start business network. Error: No valid responses from any peers.
Response from attempted peer comms was an error: Error: transaction returned with failure: ReferenceError: require is not defined
Command failed

➜  dist git:(master) ✗ composer --version
v0.20.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions