Skip to content
This repository was archived by the owner on Apr 29, 2022. It is now read-only.
This repository was archived by the owner on Apr 29, 2022. It is now read-only.

Error when trying to compile Flipper contract #49

@stiiifff

Description

@stiiifff

I followed the instructions of the Ask! quickstart over here to create a simple contract, and when I want to compile it, I get the following error:

❯ npx pl-ask-cli compile contracts/index.ts
Build Starting ······
Build progressing. Generating target files ······
ERROR TS2304: Cannot find name 'ASC_RUNTIME'.

     if (ASC_RUNTIME != Runtime.Incremental) {
         ~~~~~~~~~~~
 in ~lib/array.ts(74,9)

ERROR TS2304: Cannot find name 'ASC_RUNTIME'.

     if (ASC_RUNTIME != Runtime.Incremental) {
         ~~~~~~~~~~~
 in ~lib/array.ts(28,9)

ERROR TS2304: Cannot find name 'ASC_RUNTIME'.

     if (ASC_RUNTIME != Runtime.Incremental) {
         ~~~~~~~~~~~
 in ~lib/arraybuffer.ts(21,9)

FAILURE 3 compile error(s)
Build Done. Targets generated. Target directory: /home/steve/Dev/walchain/flipper-ask/build.

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