Skip to content

Contract compilation issue #11

@geobiojon

Description

@geobiojon

Getting the following error trying to compile the contract with

TAQ_LIGO_IMAGE=ligolang/ligo:1.1.0 taq compile nft.jsligo

=== Error messages for nft.jsligo ===
[
  {
    "status": "error",
    "stage": "typer",
    "content": {
      "message": "Type \"ret\" declared in signature but not found.",
      "location": [
        "File",
        {
          "start": {
            "byte": {
              "pos_fname": "/Users/soylentextra/Documents/repos/smart-contracts/nft-marketplace/.ligo/source/i/ligo__s__fa__1.0.9__ffffffff/lib/fa2/nft/nft.impl.jsligo",
              "pos_lnum": 11,
              "pos_bol": 0,
              "pos_cnum": 7
            },
            "point_num": 1453,
            "point_bol": 1446
          },
          "stop": {
            "byte": {
              "pos_fname": "/Users/soylentextra/Documents/repos/smart-contracts/nft-marketplace/.ligo/source/i/ligo__s__fa__1.0.9__ffffffff/lib/fa2/nft/nft.impl.jsligo",
              "pos_lnum": 239,
              "pos_bol": 0,
              "pos_cnum": 1
            },
            "point_num": 9212,
            "point_bol": 9211
          }
        }
      ]
    }
  }
]

===
┌────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Source     │ Artifact                                                                                                   │
├────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ nft.jsligo │ No contract modules found in "nft.jsligo".                                                                 │
│            │ If your contract is defined within a namespace, please ensure that it is exported from the contract file." │
└────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

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