Skip to content

TypeError: o is not a function #2

@DoubleCouponDay

Description

@DoubleCouponDay

The following example throws this error.
PS C:\Program Files\nodejs> echo "(name Bit (+ 1 1))" | typedefs codegen --target json

C:\Users\sam\AppData\Roaming\npm\node_modules\typedefs\node_modules\typedefs-js\dist\typedefs.min.js:1

TypeError: o is not a function
    at Object.parseType (C:\Users\sam\AppData\Roaming\npm\node_modules\typedefs\node_modules\typedefs-js\dist\typedefs.min.js:1:168646)
    at main (C:\Users\sam\AppData\Roaming\npm\node_modules\typedefs\typedefs-cli-codegen.js:27:23)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

Node.js v23.7.0```

The error message has been reduced for brevity, as Github does not allow pasting text larger than 65K characters.

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