Skip to content

Error: No protocol method Coercions.as-file defined for type boolean: false #31

Description

@friedger

When running clariform in folder https://github.com/Trust-Machines/stacks-sbtc/blob/68a732199797f10e33cf9538bc280bfa5ae8670e/sbtc-mini/contracts

docker run -v `pwd`:/home clariform .

I get the following error

EISDIR: illegal operation on a directory, read


;;  ./clarity-bitcoin.clar
/app/clariform.js:590
h.ba=function(){return function c(b){return new bg(null,function(){return null==b?null:ne(new U(null,2,5,V,[b.key,b.v],null),c(b.forward[0]))},null,null)}(this.yc.forward[0])};h.U=function(a,b,c){return ik(b,function(d){return ik(b,qk,""," ","",c,d)},"{",", ","}",c,this)};new sy;function ty(a,b){this.f=a;this.yg=b;this.B=393216;this.K=0}h=ty.prototype;h.R=function(a,b){return new ty(this.f,b)};h.P=function(){return this.yg};h.jf=function(){return!0};h.ze=function(){return!0};h.kf=function(){return this.f};function uy(a){try{var b=a[0];return b.g?b.g(a):b.call(null,a)}catch(c){if(c instanceof Object)throw b=c,a[6].Bd(null),b;throw c;}}function vy(a,b,c){c=c.Ae(null,new ty(function(d){a[2]=d;a[1]=b;return uy(a)},T));return t(c)?(a[2]=w(c),a[1]=b,Y):null}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ^

Error: No protocol method Coercions.as-file defined for type boolean: false
    at Kb (/app/clariform.js:26:291)
    at $N (/app/clariform.js:1295:184)
    at cO (/app/clariform.js:1298:185)
    at q (/app/clariform.js:1323:83)
    at Function.p [as g] (/app/clariform.js:1325:443)
    at uy (/app/clariform.js:590:555)
    at /app/clariform.js:590:714
    at /app/clariform.js:579:243
    at Immediate.dy (/app/clariform.js:576:463)
    at process.processImmediate (node:internal/timers:471:21)

Node.js v19.3.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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