Skip to content

PushContractTransaction。Eos({\n ^\n\nTypeError: Eos is not a function #22

@siyangsihai

Description

@siyangsihai

node js v16.3.0.

Python 3.9.7

eos-js require is ok

(<class 'eosjs_python.Exceptions.PushContractTransactionException'>, PushContractTransactionException(b'/Users/rose/Library/Python/3.8/lib/python/site-packages/eosjs_python/js/PushContractTransaction.js:12\neos = Eos({\n ^\n\nTypeError: Eos is not a function\n at Object. (/Users/rose/Library/Python/3.8/lib/python/site-packages/eosjs_python/js/PushContractTransaction.js:12:7)\n at Module._compile (node:internal/modules/cjs/loader:1109:14)\n at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)\n at Module.load (node:internal/modules/cjs/loader:989:32)\n at Function.Module._load (node:internal/modules/cjs/loader:829:14)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)\n at node:internal/main/run_main_module:17:47\n'), <traceback object at 0x104416d80>)

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